niprov.discovery module¶
-
niprov.discovery.
discover
(root, dependencies=<niprov.dependencies.Dependencies object>)¶ Search a directory for image files, and add them to your provenance collection.
Files are only included if they match the filters in the ‘discover_file_extensions’ settings. Refer to niprov.add for details on what happens to individual files.
Parameters: root (str) – The top directory in which to look for new files.