Example #1
0
 def __init__(self,
              folder_path,
              allowed_extensions,
              ignore_git_folder=True,
              ignore_path=None):
     #List all files in directory, apply ignore file if necessary
     self.filenames = fs.list_files_in(folder_path,
                                       ignore_git_folder=ignore_git_folder,
                                       ignore_file=ignore_path)
     self.allowed_extensions = allowed_extensions
Example #2
0
 def __init__(self, folder_path, allowed_extensions, ignore_git_folder=True, ignore_path=None):
     #List all files in directory, apply ignore file if necessary
     self.filenames = fs.list_files_in(folder_path, ignore_git_folder=ignore_git_folder, ignore_file=ignore_path)
     self.allowed_extensions = allowed_extensions
 def __init__(self, folder_path, ignore_path):
     #List all files in directory, apply ignore file if necessary
     self.filenames = fs.list_files_in(folder_path, ignore_path)