def get_tracked_files_finder(self): files = [p for p in self._run("ls-files", "-z").split("\0") if p] return FileListFinder(files)
def get_tracked_files_finder(self): files = [p for p in self._run('ls-files', '-z').split('\0') if p] return FileListFinder(files)
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)
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)