Documentation
¶
Overview ¶
Package source provides repository content via the system git CLI (ADR-004): clone/fetch, archive materialization, and a one-pass "git log --name-status" scan that maps every file to its last-modified commit. The content set comes from the git tree, not the working directory, so builds are reproducible from repo + ref alone.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Path string // Repository-relative slash-separated path.
Size int64
LastCommit *Commit
}
File is a regular repository file in the materialized tree.
type Spec ¶
type Spec struct {
Repo string // URL or local path.
Ref string // Empty means HEAD.
Worktree bool
}
Spec identifies the repository content source to materialize.
Click to show internal directories.
Click to hide internal directories.