Expand description
Partial-clone filter specs and promisor-remote config.
Structs§
- Partial
Clone Config - Writes Git partial-clone configuration for
remoteafter a filtered fetch/clone.
Enums§
- Object
Filter Spec - Client-side object filter for fetch and clone (partial clone).
- Partial
Clone Error - Errors parsing or applying partial-clone configuration.
Constants§
- AUTO_
FILTER_ VALUE - The
remote.<name>.partialclonefiltervalue that makes each fetch choose its filter from the accepted promisor remotes (Git’s--filter=auto).
Functions§
- fetch_
requires_ upload_ pack - Fetch/clone must use upload-pack on the wire (not local ODB copy) when a filter is requested or the remote is already a promisor partial-clone source.
- remote_
is_ promisor - Whether
remoteis configured as a promisor partial-clone source. - stored_
remote_ filter - Stored
remote.<name>.partialclonefilterwhen present and valid. - stored_
remote_ filter_ is_ auto - Whether
remote.<remote>.partialclonefilterisAUTO_FILTER_VALUE. - wire_
filter_ for_ capabilities - Decide whether to send
filteron the wire and return the expanded spec string.