Documentation ¶
Index ¶
- func BrowseVolumes(ctx context.Context) []*tree.Node
- func CanonicalPath(path string) (string, error)
- func CopyFile(src, dst string) (err error)
- func SafeRenameFile(src, dst string) error
- func SetHidden(osPath string, hidden bool) error
- func ToFilePath(nodePath string) string
- func ToNodePath(p string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalPath ¶
func CopyFile ¶
CopyFile credits https://gist.github.com/r0l1/92462b38df26839a3ca324697c8cba04
func SafeRenameFile ¶
SafeRenameFile makes a copy/delete operation to avoid cross-volumes errors
func ToFilePath ¶
func ToNodePath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.