0.2.0b
This commit is contained in:
@@ -41,6 +41,15 @@ def get_size_edge(type_searсh: bool, file_list: list[str]):
|
||||
result = max(file_list, key=lambda f: Path(f).stat().st_size)
|
||||
return str(result)
|
||||
|
||||
def get_files_not_found(database, config):
|
||||
all_db = database.get_all()
|
||||
list_md5 = []
|
||||
for one_post in all_db:
|
||||
file_path = find_file(one_post["local_filename"], config["file"]["repos"], is_folder=False)
|
||||
if file_path == None:
|
||||
list_md5.append(one_post["md5"])
|
||||
return list_md5
|
||||
|
||||
def calculate_analytic(database, config):
|
||||
all_db = database.get_all()
|
||||
explicit_db = database.get_search(["e"], [])
|
||||
|
||||
Reference in New Issue
Block a user