Skip to content

Commit 12aeefe

Browse files
committed
git(feat[filter]): Add typed partial-clone filter models
why: Git partial-clone filters use a structured grammar (blob:none, blob:limit, tree, object:type, sparse:oid, auto, combine) that callers need to build, inspect, and validate before running Git. what: - Add frozen dataclasses for each filter kind with kind, to_spec, and __str__ - Add parse_filter, from_mapping, coerce_filter, and filter_specs with uint64, combine percent-encoding, and nesting checks - Cover round-trips, native Git ulong parity, and invalid inputs
1 parent a4d6fd1 commit 12aeefe

2 files changed

Lines changed: 781 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)