OCI.Storage.Local (oci v0.0.5)
View SourceLocal storage adapter for OCI.
File system structure:
<root_path>/
├── <repo>/
│ ├── blobs/
│ │ └── sha256:<digest> # Stored blobs
│ ├── uploads/
│ │ └── <uuid>/ # Temporary upload directory
│ │ └── chunk.* # Chunked upload files
│ ├── manifests/ # Manifest storage
│ │ └── sha256:<digest> # Stored manifests
│ └── manifest/
│ └── tags/ # Tag references
│ └── <tag> # Tag to digest mapping
The local storage adapter implements the OCI distribution spec by storing:
- Blobs in the
blobs/
directory, named by their digest - Manifests in the
manifests/
directory, named by their digest - Tag references in
manifest/tags/
, mapping tags to manifest digests - Temporary uploads in
uploads/<uuid>/
during chunked uploads
Summary
Types
@type t() :: %OCI.Storage.Local{path: String.t()}