Directories
¶
| Path | Synopsis |
|---|---|
|
Package api holds the wire types and error codes of the /v1 routes.
|
Package api holds the wire types and error codes of the /v1 routes. |
|
Package bucket is the object store seam of the store service.
|
Package bucket is the object store seam of the store service. |
|
buckettest
Package buckettest is the conformance suite of bucket.Store.
|
Package buckettest is the conformance suite of bucket.Store. |
|
fs
Package fs backs the bucket seam with a directory.
|
Package fs backs the bucket seam with a directory. |
|
gcs
Package gcs backs the bucket seam with Google Cloud Storage.
|
Package gcs backs the bucket seam with Google Cloud Storage. |
|
s3
Package s3 backs the bucket seam with an S3-compatible object store: AWS S3, Cloudflare R2 or MinIO.
|
Package s3 backs the bucket seam with an S3-compatible object store: AWS S3, Cloudflare R2 or MinIO. |
|
Package client is the typed Go client of the motte store and control planes.
|
Package client is the typed Go client of the motte store and control planes. |
|
cmd
|
|
|
motte
command
Command motte is the store service.
|
Command motte is the store service. |
|
motte-loadtest
command
Command motte-loadtest builds a synthetic large repository in a motte service and drives concurrent clients against it.
|
Command motte-loadtest builds a synthetic large repository in a motte service and drives concurrent clients against it. |
|
motte-vfsd
command
Command motte-vfsd is the node daemon of the virtual workspace.
|
Command motte-vfsd is the node daemon of the virtual workspace. |
|
Package grant signs and verifies the bearer grants of the store.
|
Package grant signs and verifies the bearer grants of the store. |
|
internal
|
|
|
clock
Package clock aliases the quartz Clock and adds Real, Or and Wait.
|
Package clock aliases the quartz Clock and adds Real, Or and Wait. |
|
devicelogin
Package devicelogin signs a person in with the OAuth device authorization grant (RFC 8628) against any OIDC issuer, and keeps the token in a file that only the user reads.
|
Package devicelogin signs a person in with the OAuth device authorization grant (RFC 8628) against any OIDC issuer, and keeps the token in a file that only the user reads. |
|
gitpack
Package gitpack reads git pack files and v2 pack indexes by ranged reads.
|
Package gitpack reads git pack files and v2 pack indexes by ranged reads. |
|
gitproto
Package gitproto speaks the git smart HTTP protocol over an object reader: ref advertisement, protocol v2 fetch and ls-refs, and the commands and report of receive-pack.
|
Package gitproto speaks the git smart HTTP protocol over an object reader: ref advertisement, protocol v2 fetch and ls-refs, and the commands and report of receive-pack. |
|
identity
Package identity maps the credential of a request to the claims of a grant.
|
Package identity maps the credential of a request to the claims of a grant. |
|
identity/identitytest
Package identitytest holds the conformance suite of identity.Authenticator and a signer of Access JWTs.
|
Package identitytest holds the conformance suite of identity.Authenticator and a signer of Access JWTs. |
|
identity/oidc
Package oidc authenticates a request by a signed OIDC JWT from any issuer, and maps a claim of the JWT to a scope on a repository with rules.
|
Package oidc authenticates a request by a signed OIDC JWT from any issuer, and maps a claim of the JWT to a scope on a repository with rules. |
|
identity/token
Package token authenticates a request by a signed grant.
|
Package token authenticates a request by a signed grant. |
|
identity/usertoken
Package usertoken authenticates a request by a per-user token that an administrator issued.
|
Package usertoken authenticates a request by a per-user token that an administrator issued. |
|
land
Package land rebases a linear range of commits onto the tip of a ref by applying its tree changes, with a file-level conflict check.
|
Package land rebases a linear range of commits onto the tip of a ref by applying its tree changes, with a file-level conflict check. |
|
leaklint
command
Command leaklint fails when a tracked file or a commit message holds a term of the denylist.
|
Command leaklint fails when a tracked file or a commit message holds a term of the denylist. |
|
lint/cmd/lint
command
Command lint runs the repository analyzers.
|
Command lint runs the repository analyzers. |
|
lint/paralleltests
Package paralleltests reports a top-level test that does not call t.Parallel and is not listed in testdata/serial-tests.txt.
|
Package paralleltests reports a top-level test that does not call t.Parallel and is not listed in testdata/serial-tests.txt. |
|
lint/wallclock
Package wallclock reports time.Sleep and time.After in test files outside a testing/synctest.Test bubble.
|
Package wallclock reports time.Sleep and time.After in test files outside a testing/synctest.Test bubble. |
|
midx
Package midx is the layered multi-pack index of a repository: one sorted lookup structure over many packs, the manifest that lists the layers of a repository, and the geometric rules that merge layers and compact packs.
|
Package midx is the layered multi-pack index of a repository: one sorted lookup structure over many packs, the manifest that lists the layers of a repository, and the geometric rules that merge layers and compact packs. |
|
pgtest
Package pgtest gives a test a pool on a private migrated schema.
|
Package pgtest gives a test a pool on a private migrated schema. |
|
pktline
Package pktline reads and writes the pkt-line framing of the git wire protocols.
|
Package pktline reads and writes the pkt-line framing of the git wire protocols. |
|
refname
Package refname holds the ref name rule of the store.
|
Package refname holds the ref name rule of the store. |
|
release/cmd/release
command
Command release builds and publishes release artifacts with no CI provider.
|
Command release builds and publishes release artifacts with no CI provider. |
|
release/publish
Package publish is the seam of the release destination.
|
Package publish is the seam of the release destination. |
|
release/publish/dir
Package dir publishes release artifacts to a directory, such as a mounted bucket.
|
Package dir publishes release artifacts to a directory, such as a mounted bucket. |
|
release/publish/github
Package github publishes release artifacts as assets of a GitHub release through the gh CLI.
|
Package github publishes release artifacts as assets of a GitHub release through the gh CLI. |
|
release/publish/publishtest
Package publishtest is the conformance suite of publish.Publisher.
|
Package publishtest is the conformance suite of publish.Publisher. |
|
repos
Package repos holds the rules of a repository that the store keeps.
|
Package repos holds the rules of a repository that the store keeps. |
|
seams
Package seams enforces the provider seam rules of AGENTS.md.
|
Package seams enforces the provider seam rules of AGENTS.md. |
|
server
Package server is the HTTP surface of the store: the store plane that the node daemon and the jj backend call, and the control plane of the caller.
|
Package server is the HTTP surface of the store: the store plane that the node daemon and the jj backend call, and the control plane of the caller. |
|
store
Package store keeps the git objects of a repository in packs and the operation objects of a workspace, in one object store.
|
Package store keeps the git objects of a repository in packs and the operation objects of a workspace, in one object store. |
|
testcount
Package testcount counts the expensive operations that test helpers start and prints the counts of a package at the end of its test run, for internal/testtime to check against testdata/test-time-budget.txt.
|
Package testcount counts the expensive operations that test helpers start and prints the counts of a package at the end of its test run, for internal/testtime to check against testdata/test-time-budget.txt. |
|
testtime
command
Command testtime reads the output of go test -json on standard input, prints the readable test log, and fails when a test or a package is slower than the budget of testdata/test-time-budget.txt.
|
Command testtime reads the output of go test -json on standard input, prints the readable test log, and fails when a test or a package is slower than the budget of testdata/test-time-budget.txt. |
|
vfs/ctl
Package ctl serves the control protocol of a workspace: one JSON object for each line over a unix socket.
|
Package ctl serves the control protocol of a workspace: one JSON object for each line over a unix socket. |
|
vfs/lower
Package lower is a lazy read-only file system over one commit of the version control store: the lower layer of a kernel overlay, with the dirty set read from the upper directory.
|
Package lower is a lazy read-only file system over one commit of the version control store: the lower layer of a kernel overlay, with the dirty set read from the upper directory. |
|
vfs/nodegrant
Package nodegrant mints the node grants of the CSI plugin.
|
Package nodegrant mints the node grants of the CSI plugin. |
|
vfs/tel
Package tel carries the correlation attributes, spans and log records of the node daemon.
|
Package tel carries the correlation attributes, spans and log records of the node daemon. |
|
vfs/upperdir
Package upperdir reads the upper directory of the kernel overlay that serves a mount-mode workspace and reports which paths differ from the base tree that the read-only lower layer serves.
|
Package upperdir reads the upper directory of the kernel overlay that serves a mount-mode workspace and reports which paths differ from the base tree that the read-only lower layer serves. |
|
Package meta is the metadata seam of the store service: repositories, workspaces and their epoch fence, op heads, refs and the pack listing.
|
Package meta is the metadata seam of the store service: repositories, workspaces and their epoch fence, op heads, refs and the pack listing. |
|
metatest
Package metatest is the conformance suite of meta.Store.
|
Package metatest is the conformance suite of meta.Store. |
|
postgres
Package postgres is the PostgreSQL backend of meta.Store.
|
Package postgres is the PostgreSQL backend of meta.Store. |
|
sqlite
Package sqlite is the SQLite backend of meta.Store, for tests and for a service that runs with no other process.
|
Package sqlite is the SQLite backend of meta.Store, for tests and for a service that runs with no other process. |
|
Package testserver starts a real motte server in the process of a caller's test.
|
Package testserver starts a real motte server in the process of a caller's test. |
|
Package volume is the contract between a caller's sandbox driver and the node plugin: the volume attributes of a workspace.
|
Package volume is the contract between a caller's sandbox driver and the node plugin: the volume attributes of a workspace. |
Click to show internal directories.
Click to hide internal directories.