filesystem

package
v3.0.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BrowseVolumes

func BrowseVolumes(ctx context.Context) []*tree.Node

func CanonicalPath

func CanonicalPath(path string) (string, error)

func CopyFile

func CopyFile(src, dst string) (err error)

CopyFile credits https://gist.github.com/r0l1/92462b38df26839a3ca324697c8cba04

func SafeRenameFile

func SafeRenameFile(src, dst string) error

SafeRenameFile makes a copy/delete operation to avoid cross-volumes errors

func SetHidden

func SetHidden(osPath string, hidden bool) error

func ToFilePath

func ToFilePath(nodePath string) string

func ToNodePath

func ToNodePath(p string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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