Documentation ¶
Overview ¶
Package gitfs presents a file tree downloaded from a remote Git repo as an in-memory fs.FS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
A Repo is a connection to a remote repository served over HTTP or HTTPS.
func (*Repo) Refs ¶ added in v1.2.0
Refs executes an ls-Refs command on the remote server to look up Refs with the given prefixes. See https://git-scm.com/docs/protocol-v2#_ls_refs.
Click to show internal directories.
Click to hide internal directories.