package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jun 6, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
Package gitfs presents a file tree downloaded from a remote Git repo as an in-memory fs.FS.
See the API reference.
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.