Skip to main content

Module xet_filter

Module xet_filter 

Source
Expand description

XET large file storage filter integration

This module re-exports the git-xet-filter crate for convenience. The filter can also be used standalone by depending on git-xet-filter directly.

Modules§

callbacks
C callback implementations for libgit2 filter
config
Configuration for XET filter
error
Error handling for XET filter operations
ffi
Safe FFI bindings to libgit2’s filter system
filter
XET filter implementation with type state pattern
gittorrent_storage
GittorrentStorage — StorageBackend implementation for P2P distribution.
runtime
Dedicated runtime for XET filter async operations
storage
Storage backend for XET content-addressed storage operations.

Structs§

XetConfig
Configuration for XET large file storage
XetError
Error type for XET filter operations

Enums§

XetErrorKind
Categories of XET filter errors

Constants§

HUGGINGFACE_XET_ENDPOINT
HuggingFace XET CAS endpoint

Functions§

clear_last_error
Clear the last XET filter error for this thread
clear_smudge_progress
Clear the smudge progress callback for the current thread.
get_config
Get the XET config used during initialization
initialize
Initialize XET filter support
is_initialized
Check if XET filter is initialized
last_error
Get the last XET filter error from this thread
set_smudge_progress
Set a callback to receive per-file smudge progress during checkout. Resets the internal counter to 0.

Type Aliases§

Result
Result type that converts to FFI error codes
SmudgeProgressCallback
Callback invoked on each smudge (download) operation during checkout.