MCPcopy Create free account
hub / github.com/docker/docker-language-server / samePath

Function samePath

internal/compose/completion.go:31–33  ·  view source on GitHub ↗
(uriPath, path string)

Source from the content-addressed store, hash-verified

29}
30
31func samePath(uriPath, path string) bool {
32 return filepath.ToSlash(uriPath) == filepath.ToSlash(path)
33}
34
35// extendingCurrentFile checks if the extends object's file attribute is
36// pointing to the current file.

Callers 1

extendingCurrentFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected