13 lines
338 B
Python
13 lines
338 B
Python
from .structures import PathClassification, FileClassification
|
|
from pathlib import Path
|
|
|
|
|
|
def classify_files(path: str) -> PathClassification:
|
|
return PathClassification(Path(path))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
results = classify_files("/home/max/Media Library/testing/The Mentalist (2008)")
|
|
|
|
print(results)
|
|
print("Done.")
|