package
Version:
v1.5.4
Opens a new window with list of versions in this module.
Published: Oct 7, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewTarget(conf *git.Conf, cloner Cloner, opts ...gitCloneTargetOption) (*gitCloneTarget, error)
NewTarget returns a new git clone target.
WithClock allows customising the default clock. Mainly used for testing.
Cloner is the contract for cloning repositories.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.