Documentation
¶
Index ¶
- Constants
- func CanonicalizePath(path string) string
- func ComparableUserPathText(value string) string
- func ComparableUserPathTextFolded(value string) string
- func ComparableUserPathTextWithCase(value string) string
- func ExpandPath(path string) string
- func GetCwdRelativePath(path, cwd string) (string, bool)
- func IsLocalPath(value string) bool
- func MarkPathIgnoredByCloudSync(ctx context.Context, path string, options CloudSyncMarkOptions)
- func NormalizeUserPathText(value string) string
- func ResolveReadPath(path, cwd string) (string, error)
- func ResolveToCwd(path, cwd string) string
- type CloudSyncMarkOptions
Constants ¶
View Source
const DefaultCloudSyncMarkTimeout = 2 * time.Second
Variables ¶
This section is empty.
Functions ¶
func CanonicalizePath ¶
func ComparableUserPathText ¶
func ExpandPath ¶
func GetCwdRelativePath ¶
func IsLocalPath ¶
func MarkPathIgnoredByCloudSync ¶ added in v0.82.0
func MarkPathIgnoredByCloudSync( ctx context.Context, path string, options CloudSyncMarkOptions, )
MarkPathIgnoredByCloudSync applies supported best-effort cloud-provider ignore attributes. Unsupported platforms and command failures are silent, matching the advisory nature of the metadata.
func NormalizeUserPathText ¶
func ResolveReadPath ¶
func ResolveToCwd ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.