Пример #1
0
def find_scrivener_project_contents(hot_files, scrivener_project):
    for path, dirs, files in os.walk(
            os.path.join(  # @UnusedVariable
                hot_files.project_dir, scrivener_project)):
        rpath = relpath(path, hot_files.project_dir)
        for filename in files:
            yield os.path.join(rpath, filename)
Пример #2
0
 def __drop_prefix(self, prefix, filepath):
     return relpath(filepath, prefix)
Пример #3
0
 def __drop_prefix(self, prefix, filepath):
     return relpath(filepath, prefix)
Пример #4
0
def find_scrivener_project_contents(hot_files, scrivener_project):
    for path, dirs, files in os.walk(os.path.join(hot_files.project_dir, scrivener_project)):  # @UnusedVariable
        rpath = relpath(path, hot_files.project_dir)
        for filename in files:
            yield os.path.join(rpath, filename)