Пример #1
0
 def get_tracked_files_finder(self):
     files = [p for p in self._run("ls-files", "-z").split("\0") if p]
     return FileListFinder(files)
Пример #2
0
 def get_tracked_files_finder(self):
     files = [p for p in self._run('ls-files', '-z').split('\0') if p]
     return FileListFinder(files)
Пример #3
0
 def get_tracked_files_finder(self):
     # Can return backslashes on Windows. Normalize to forward slashes.
     files = list(
         p.replace("\\", "/") for p in self._run("files", "-0").split("\0")
         if p)
     return FileListFinder(files)
Пример #4
0
 def get_tracked_files_finder(self):
     # Can return backslashes on Windows. Normalize to forward slashes.
     files = list(
         p.replace('\\', '/') for p in self._run('files', '-0').split('\0')
         if p)
     return FileListFinder(files)