Forge.ArtifactStorage.Local (Forge v0.1.1)

View Source

Local filesystem adapter for artifact storage.

Stores blobs on the local filesystem, useful for development and testing. Uses content-addressable storage (SHA256 hash) for deduplication.

Configuration

config :forge, :artifact_storage,
  adapter: Forge.ArtifactStorage.Local,
  base_path: "/tmp/forge_artifacts"

Storage Layout

Artifacts are stored in a flat directory structure:

/tmp/forge_artifacts/
  blobs/
    abc123...def/  # SHA256 hash
    456789...012/