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

Struct Absolute

internal/safepaths/absolute.go:11–13  ·  view source on GitHub ↗

Absolute must be constructed via ParseAbsolute, or other methods in this package. The zero value of Absolute will panic when String is called.

Source from the content-addressed store, hash-verified

9// Absolute must be constructed via ParseAbsolute, or other methods in this package.
10// The zero value of Absolute will panic when String is called.
11type Absolute struct {
12 path string
13}
14
15// ParseAbsolute takes a string path that may be relative and returns
16// an Absolute that is guaranteed to be absolute, or an error.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected