MCPcopy Create free account
hub / github.com/dgraph-io/dgraph / isBindMount

Function isBindMount

compose/compose.go:548–550  ·  view source on GitHub ↗
(vol string)

Source from the content-addressed store, hash-verified

546}
547
548func isBindMount(vol string) bool {
549 return strings.HasPrefix(vol, ".") || strings.HasPrefix(vol, "/")
550}
551
552func fatal(err error) {
553 fmt.Fprintf(os.Stderr, "compose: %v\n", err)

Callers 2

getVolumeFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…