MCPcopy Index your code
hub / github.com/gotify/server / exist

Function exist

api/application.go:458–463  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

456}
457
458func exist(path string) bool {
459 if _, err := os.Stat(path); os.IsNotExist(err) {
460 return false
461 }
462 return true
463}
464
465func generateNonExistingImageName(imgDir string, gen func() string) string {
466 for {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…