git_lfs_api/lib.rs
1//! HTTP client for the git-lfs batch and locking APIs.
2//!
3//! See `docs/api/` for the wire-protocol specification.
4//!
5//! Scope is deliberately narrow: this crate handles JSON request/response
6//! against the LFS server. Concurrency, retries, and the actual byte
7//! transfer against action URLs live in `git-lfs-transfer`. Credential
8//! resolution lives in `git-lfs-creds`. Server URL discovery from a git
9//! remote lives in `git-lfs-git`.
10
11mod auth;
12mod batch;
13mod client;
14mod error;
15mod locks;
16mod models;
17
18pub use auth::Auth;
19pub use batch::{
20 Action, Actions, BatchRequest, BatchResponse, ObjectError, ObjectResult, ObjectSpec, Operation,
21};
22pub use client::Client;
23pub use error::{ApiError, ServerError};
24pub use locks::{
25 CreateLockError, CreateLockRequest, DeleteLockRequest, ListLocksFilter, LockList,
26 VerifyLocksRequest, VerifyLocksResponse,
27};
28pub use models::{Lock, Owner, Ref};