Documentation
¶
Index ¶
Constants ¶
View Source
const (
Separator = '\\' // OS-specific path separator
)
Variables ¶
This section is empty.
Functions ¶
func ExpandUser ¶
ExpandUser replaces a leading "~" by the home directory of the current user. Only "~" alone, or followed by a path separator, is the home directory: a "~" followed by a name ("~user/x") is the home directory of another user, which is not looked up, and the path is left untouched.
func IsPathSeparator ¶ added in v2.6.2
func IsWindowsAbs ¶ added in v2.6.2
IsWindowsAbs reports whether the path is absolute. copied from IsAbs(path string) (b bool) from internal.filetpathlite
func ResolveRelativePaths ¶
func ResolveRelativePaths(project map[string]any, base string, remotes []RemoteResource) error
ResolveRelativePaths make relative paths absolute
Types ¶
type RemoteResource ¶
Click to show internal directories.
Click to hide internal directories.