MCPcopy Create free account
hub / github.com/go-git/go-git / init

Function init

worktree.go:463–465  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

461var windowsPathReplacer *strings.Replacer
462
463func init() {
464 windowsPathReplacer = strings.NewReplacer(" ", "", ".", "")
465}
466
467func windowsValidPath(part string) bool {
468 if len(part) > 3 && strings.EqualFold(part[:4], GitDirName) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected