MCPcopy Create free account
hub / github.com/cli/cli / Close

Method Close

internal/safepaths/root.go:116–118  ·  view source on GitHub ↗

Close closes the rooted filesystem.

()

Source from the content-addressed store, hash-verified

114
115// Close closes the rooted filesystem.
116func (r *Root) Close() error {
117 return r.root.Close()
118}
119
120// Sub creates and opens a rooted subdirectory.
121func (r *Root) Sub(name string, perm os.FileMode) (*Root, error) {

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected