# `HfHub.LFS`
[🔗](https://github.com/North-Shore-AI/hf_hub_ex/blob/v0.3.1/lib/hf_hub/lfs.ex#L1)

LFS (Large File Storage) utilities for HuggingFace Hub.

Provides functionality for calculating file hashes and preparing
upload information for the LFS protocol.

Based on Python's `huggingface_hub.lfs` module.

# `lfs_headers`

```elixir
@spec lfs_headers() :: [{String.t(), String.t()}]
```

Returns the standard LFS headers for API requests.

# `oid`

```elixir
@spec oid(HfHub.LFS.UploadInfo.t()) :: String.t()
```

Returns the LFS OID (object identifier) for upload info.

The OID is the lowercase hex representation of the SHA256 hash.

# `sha256_hex`

```elixir
@spec sha256_hex(HfHub.LFS.UploadInfo.t()) :: String.t()
```

Converts UploadInfo sha256 to lowercase hex string.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
