windows

package
v1.45.3-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatFilePath

func FormatFilePath(fp string) string

FormatFilePath formats a windows filepath by converting backslash to frontslash and ensuring that drive letter is upper case.

func FormatLocalFilePath

func FormatLocalFilePath(localFile, entity string) (string, error)

FormatLocalFilePath maps entity filepath to unc path, if neither localFile, nor entity file are existing.

func IsWindowsNetworkMount added in v1.35.0

func IsWindowsNetworkMount(fp string) bool

IsWindowsNetworkMount returns true if filepath is windows network path.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL