package
Version:
v0.2.9
Opens a new window with list of versions in this module.
Published: Mar 15, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewRepo(t *testing.T, fs billy.Filesystem) *git.Repository
NewRepo returns a new Git repository.
NewServer returns a http.Handler that serves a git repository.
It's expected that the repository is already initialized by the caller.
func WriteFile(t *testing.T, fs billy.Filesystem, path, content string)
WriteFile writes a file to the filesystem.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.