MCPcopy Create free account
hub / github.com/perkeep/perkeep / localCamliSource

Function localCamliSource

misc/docker/dock.go:87–92  ·  view source on GitHub ↗

localCamliSource returns the path to the local Perkeep source tree that should be specified in *flagRev if *flagRev starts with "WIP:", empty string otherwise.

()

Source from the content-addressed store, hash-verified

85// that should be specified in *flagRev if *flagRev starts with "WIP:",
86// empty string otherwise.
87func localCamliSource() string {
88 if !isWIP() {
89 return ""
90 }
91 return strings.TrimPrefix(*flagRev, "WIP:")
92}
93
94func rev() string {
95 if isWIP() {

Callers 2

genPerkeepFunction · 0.70
checkFlagsFunction · 0.70

Calls 1

isWIPFunction · 0.70

Tested by

no test coverage detected