Option C Tools
Loading...
Searching...
No Matches
commit_observer.py File Reference

Go to the source code of this file.

Namespaces

namespace  oct
namespace  oct.git
namespace  oct.git.commit_observer

Functions

str oct.git.commit_observer._hash_file (Path path)
dict[str, str] oct.git.commit_observer.snapshot_unstaged_tracked (Path repo_root, set[str]|None staged_set=None)
list[str] oct.git.commit_observer.diff_snapshots (dict[str, str] before, dict[str, str] after)

Variables

int oct.git.commit_observer._MAX_HASH_BYTES = 10 * 1024 * 1024
str oct.git.commit_observer._OVERSIZE_SENTINEL = "OVERSIZE"
str oct.git.commit_observer._MISSING_SENTINEL = ""