Skip to main content

Module worktree

Module worktree 

Source
Expand description

Working-tree scanning helpers (find tracked-format files, hash them).

Functionsยง

abs_path
Absolute path of a repo-relative working-tree path.
hash_working_file
Hash a working-tree file by content (level-1 raw hash), streaming the file in fixed blocks so memory stays constant even for very large STEP files.
read_working_file
Read the bytes of a working-tree file.
scan_step_files
Scan the working tree for STEP/STP files, returning their repo-relative paths.