This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch jmac/cas_to_cas_oct_v2
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 285b6f3347327773df8d67af1ff3ac7d7341d3fa
Author: Jim MacArthur <[email protected]>
AuthorDate: Tue Oct 30 12:21:55 2018 +0000

    Remove _symlink_target_is_directory
---
 buildstream/storage/_casbaseddirectory.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/buildstream/storage/_casbaseddirectory.py 
b/buildstream/storage/_casbaseddirectory.py
index cd06649..5fc4099 100644
--- a/buildstream/storage/_casbaseddirectory.py
+++ b/buildstream/storage/_casbaseddirectory.py
@@ -486,9 +486,6 @@ class CasBasedDirectory(Directory):
             dirname += os.path.sep
         return [f[len(dirname):] for f in sorted_files if 
f.startswith(dirname)]
 
-    def _symlink_target_is_directory(self, symlink_node):
-        x = self._resolve(symlink_node.name)
-        return isinstance(x, CasBasedDirectory)
 
     def _partial_import_cas_into_cas(self, source_directory, files, 
path_prefix="", file_list_required=True):
         """ Import only the files and symlinks listed in 'files' from 
source_directory to this one.

Reply via email to