package
Version:
v1.9.0
Opens a new window with list of versions in this module.
Published: Jul 2, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type MockGit struct {
Smart bool
}
MockGit can be used to start a pretend git server for testing custom spack
repos.
New returns a new MockGit that provides a git repo with a random number of
random refs.
ServeHTTP is to implement http.Handler so you can httptest.NewServer(m).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.