OCI.Storage.Local (oci v0.0.4)

View Source

Local 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

t()

@type t() :: %OCI.Storage.Local{path: String.t()}