analysis module¶
-
analysis.compute_file(collection_name, document_name, full_file_path=None)¶ Compute stats for a single file.
- Parameters
collection_name – name of the collection (probably a UUID)
document_name – name of the document to be analysed (probably a UUID as well)
- Returns
(filesize, StatisticsBuilder(), glob[], ArrayProperties()) tuple
-
analysis.compute_files(repository_uuid)¶ Compute stats for a set of files.
- Parameters
repository_uuid – The UUID of the repository holding the files.
- Returns
The duration in seconds (float), if everything went fine