MCPcopy Create free account
hub / github.com/docker/cli / endpointDir

Method endpointDir

cli/context/store/tlsstore.go:21–23  ·  view source on GitHub ↗
(name, endpointName string)

Source from the content-addressed store, hash-verified

19}
20
21func (s *tlsStore) endpointDir(name, endpointName string) string {
22 return filepath.Join(s.contextDir(name), endpointName)
23}
24
25func (s *tlsStore) createOrUpdate(name, endpointName, filename string, data []byte) error {
26 parentOfRoot := filepath.Dir(s.root)

Callers 3

createOrUpdateMethod · 0.95
getDataMethod · 0.95
removeEndpointMethod · 0.95

Calls 1

contextDirMethod · 0.95

Tested by

no test coverage detected