The Go packages behind the openstorage server (module github.com/coder/openstorage). This directory has no Go files of its own. Requests enter through api (REST) and githttp (git smart HTTP, Git LFS, and the git hooks). Both rely on auth for JWT verification, on meta for org, repo, and upstream metadata, on ref for the ref authority, pack registry, and quota ledger, and on blob for pack and LFS bytes. gitread and gitlimit run bounded git subprocesses. jobs and sync run background work: sweeps, purges, repacks, LFS reclamation, webhook delivery through events, and upstream mirroring. simtest is the deterministic simulation harness over these packages.
api: ./api/README.md - REST/api/v1routes and the/api/repos/{repo_name}aliases: auth, rate limits, git-read budgets, repo and ref CRUD, reads, commit, merge, fork, sync, credential, and webhook handlersauth: ./auth/README.md - JWT claims, scopes, per-org key verifier, token minting, and ref-policy parsing and matchingblob: ./blob/README.md -BlobStorecontract with S3 and filesystem backends, pack and LFS key layout, usage listing, and restore coversenvconfig: ./envconfig/README.md -OPENSTORAGE_*environment lookup. It never reads the oldCODESTORAGE_*names:[envconfig/envconfig.go:CheckLegacy]rejects a process that sets one without itsOPENSTORAGE_*replacementerrtext: ./errtext/README.md - the 16384-byte cut of request text that an error answer repeats, shared byapiandgithttpevents: ./events/README.md - signed webhook delivery with an SSRF dial guard, and a ref-store decorator that emits push eventsgithttp: ./githttp/README.md - git smart-HTTP and LFS server, cache-repo hydration, push holds, and the pre-receive, update, and reference-transaction hooksgitlimit: ./gitlimit/README.md - admission slots, tracked git process groups, and the Linux heap capgitread: ./gitread/README.md - budgeted read-side git plumbing: trees, blobs, logs, blame, diff, grep, archives, tags, notesjobs: ./jobs/README.md - River and in-process job queues, orphan sweeper, repo purge, repack, LFS reclamation, and absence reconcilerlfsscan: ./lfsscan/README.md - LFS pointer parser and bounded reachable-OID walkmeta: ./meta/README.md - metadata store (Postgres, SQLite, S3WAL) for orgs, keys, repos, webhooks, credentials, upstream claim lanes, and the local schedulemetrics: ./metrics/README.md - Prometheus metrics on a private registry, HTTP instrumentation, and the/metricslistenerref: ./ref/README.md - ref authority (Postgres, SQLite, S3WAL): CAS refs, pack registry, quota ledger, LFS registry, purge, scan state; childs3walholds the conditional-object substrates3oplog: ./s3oplog/README.md - opt-in per-process S3 round-trip logsecrets: ./secrets/README.md - AES-256-GCM envelope encryption with key rotationsimtest: ./simtest/README.md - deterministic simulation testing of a multi-node cluster with fault injection and invariant oraclessync: ./sync/README.md - upstream pull sync and push-forward worker, egress proxy, queues, and local schedulertestutil: ./testutil/README.md - test helpers: pinned container images and container log captureversion: ./version/README.md - one-line build version string