MCPcopy
hub / github.com/perkeep/perkeep / fileExists

Function fileExists

pkg/client/config.go:393–396  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

391}
392
393func fileExists(name string) bool {
394 _, err := os.Stat(name)
395 return err == nil
396}
397
398// SignerPublicKeyBlobref returns the blobref of signer's public key.
399// The blobref may not be valid (zero blob.Ref) if e.g the configuration

Callers 1

Calls 1

StatMethod · 0.65

Tested by

no test coverage detected