less print
This commit is contained in:
parent
c8c0db493f
commit
c7c52f0dc2
@ -154,7 +154,7 @@ def updatefileindex():
|
|||||||
raw_folderpath = folder.get("folderpath")
|
raw_folderpath = folder.get("folderpath")
|
||||||
norm_folderpath = os.path.normpath(raw_folderpath)
|
norm_folderpath = os.path.normpath(raw_folderpath)
|
||||||
# Only log folder names up to 3 levels deep; suppress filenames
|
# Only log folder names up to 3 levels deep; suppress filenames
|
||||||
log_structure(norm_folderpath, max_depth=3, show_files=False)
|
log_structure(norm_folderpath, max_depth=1, show_files=False)
|
||||||
# Precompute the length of the base folder path (plus one for the separator)
|
# Precompute the length of the base folder path (plus one for the separator)
|
||||||
base_len = len(norm_folderpath) + 1
|
base_len = len(norm_folderpath) + 1
|
||||||
# Prefetch hit counts for this basefolder to avoid per-file queries
|
# Prefetch hit counts for this basefolder to avoid per-file queries
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user