Ejemplo n.º 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)
Ejemplo n.º 2
0
 def __drop_prefix(self, prefix, filepath):
     return relpath(filepath, prefix)
Ejemplo n.º 3
0
 def __drop_prefix(self, prefix, filepath):
     return relpath(filepath, prefix)
Ejemplo n.º 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)