package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Mar 31, 2023
License: AGPL-3.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.