From f1b44c1087ca665b46c4a22d48e566e5938cfd67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Fri, 24 Apr 2020 10:49:25 +0200 Subject: _casbaseddirectory.py: Remove unused _copy_link_from_filesystem() --- src/buildstream/storage/_casbaseddirectory.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/buildstream/storage') diff --git a/src/buildstream/storage/_casbaseddirectory.py b/src/buildstream/storage/_casbaseddirectory.py index e33bdc3d7..0a5a557b4 100644 --- a/src/buildstream/storage/_casbaseddirectory.py +++ b/src/buildstream/storage/_casbaseddirectory.py @@ -293,9 +293,6 @@ class CasBasedDirectory(Directory): self.__invalidate_digest() - def _copy_link_from_filesystem(self, basename, filename): - self._add_new_link_direct(filename, os.readlink(os.path.join(basename, filename))) - def _add_new_link_direct(self, name, target): self.index[name] = IndexEntry(name, _FileType.SYMLINK, target=target, modified=name in self.index) -- cgit v1.2.1