Skip to content

Commit 7bc225b

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 934c14b commit 7bc225b

2 files changed

Lines changed: 781 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)