Skip to content

Commit cfcac8a

Browse files
committed
docs(git[filter]): Show str() and kind on filter models
1 parent 780ddbb commit cfcac8a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎docs/cmd/git/filter.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ mapping:
2323
>>> from libvcs.cmd.git_filter import BlobLimit, coerce_filter, parse_filter
2424
>>> BlobLimit("4m")
2525
BlobLimit(limit='4m')
26+
>>> str(BlobLimit("4m")), BlobLimit("4m").kind
27+
('blob:limit=4m', 'blob:limit')
2628
>>> parse_filter("tree:2")
2729
TreeDepth(depth=2)
2830
>>> coerce_filter({"kind": "object:type", "type": "commit"})

0 commit comments

Comments
 (0)