mirror of
https://github.com/The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge.git
synced 2026-08-30 17:10:32 +08:00
remove comments
This commit is contained in:
@@ -83,7 +83,6 @@ def crawl_local_files(directory, include_patterns=None, exclude_patterns=None, m
|
|||||||
excluded = True
|
excluded = True
|
||||||
break
|
break
|
||||||
|
|
||||||
# --- Inclusion Check (remains the same) ---
|
|
||||||
included = False
|
included = False
|
||||||
if include_patterns:
|
if include_patterns:
|
||||||
for pattern in include_patterns:
|
for pattern in include_patterns:
|
||||||
@@ -97,7 +96,6 @@ def crawl_local_files(directory, include_patterns=None, exclude_patterns=None, m
|
|||||||
# Skip if not included or if excluded (by either method)
|
# Skip if not included or if excluded (by either method)
|
||||||
if not included or excluded:
|
if not included or excluded:
|
||||||
continue
|
continue
|
||||||
# --- End Exclusion/Inclusion Logic ---
|
|
||||||
|
|
||||||
# Check file size
|
# Check file size
|
||||||
if max_file_size and os.path.getsize(filepath) > max_file_size:
|
if max_file_size and os.path.getsize(filepath) > max_file_size:
|
||||||
|
|||||||
Reference in New Issue
Block a user