From 3c20e79e02651c0c86ef04b17eafb384ec46bbbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Wed, 27 Feb 2019 16:33:50 +0100 Subject: _casbaseddirectory.py: Remove docstring for import_files() The docstring in the superclass should be used as reference. This matches FileBasedDirectory.import_files(). --- buildstream/storage/_casbaseddirectory.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/buildstream/storage/_casbaseddirectory.py b/buildstream/storage/_casbaseddirectory.py index 537feade2..6e993c011 100644 --- a/buildstream/storage/_casbaseddirectory.py +++ b/buildstream/storage/_casbaseddirectory.py @@ -414,20 +414,7 @@ class CasBasedDirectory(Directory): filter_callback=None, report_written=True, update_mtime=False, can_link=False): - """Imports some or all files from external_path into this directory. - - Keyword arguments: external_pathspec: Either a string - containing a pathname, or a Directory object, to use as the - source. - - report_written (bool): Return the full list of files - written. Defaults to true. If false, only a list of - overwritten files is returned. - - update_mtime (bool): Currently ignored, since CAS does not store mtimes. - - can_link (bool): Ignored, since hard links do not have any meaning within CAS. - """ + """ See superclass Directory for arguments """ if isinstance(external_pathspec, str): files = list_relative_paths(external_pathspec) -- cgit v1.2.1