package
Version:
v0.0.0-...-0ef0108
Opens a new window with list of versions in this module.
Published: Oct 3, 2025
License: BSD-3-Clause
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package gitfs presents a file tree downloaded from a remote Git repo as an in-memory fs.FS.
A Hash is a SHA-1 Hash identifying a particular Git object.
A Repo is a connection to a remote repository served over HTTP or HTTPS.
NewRepo connects to a Git repository at the given http:// or https:// URL.
Clone resolves the given ref to a hash and returns the corresponding fs.FS.
CloneHash returns the fs.FS for the given hash.
Resolve looks up the given ref and returns the corresponding Hash.
As a special case, a ref of "gopls/latest-release-branch" returns
the tip commit on the latest release branch of gopls.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.