class documentation
Filter that uses a sparse specification from an object.
This filter reads sparse-checkout patterns from a blob object and uses them to determine which paths should be included in the partial clone.
| Method | __init__ |
Initialize sparse OID filter. |
| Method | __repr__ |
Return string representation of the filter. |
| Method | should |
Include all blobs (sparse filtering is path-based, not size-based). |
| Method | should |
Determine if a path should be included based on sparse patterns. |
| Method | should |
Include all trees (sparse filtering is path-based). |
| Method | to |
Return 'sparse:oid=<oid>'. |
| Instance Variable | oid |
Undocumented |
| Method | _load |
Load and parse sparse patterns from the blob. |
| Instance Variable | _object |
Undocumented |
| Instance Variable | _patterns |
Undocumented |
Initialize sparse OID filter.
| Parameters | |
oid:ObjectID | Object ID of the sparse specification blob |
objectBaseObjectStore | None | Optional object store to load the sparse patterns from |