Documentation
¶
Index ¶
- Constants
- Variables
- func Absolutize(root, path string) string
- func EnsureRelativePath(path string) string
- func ErrorContains(err error, text string) bool
- func IsFile(path string) bool
- func NewVfsFile(absolutePath, root string, item interface{}) *gg_vfs.VfsFile
- func ReadKey(pathOrKey string) ([]byte, error)
- func Relativize(root string, path string) string
- func SplitHost(settings *vfsoptions.VfsOptions) (host string, port int)
- type IVfs
- type IVfsBuilder
Constants ¶
View Source
const ( SchemaFTP = "ftp" SchemaSFTP = "sftp" SchemaOS = "file" )
View Source
const ( PrefixUserHome = "~" PrefixWorkspace = "*" )
Variables ¶
Functions ¶
func Absolutize ¶
func EnsureRelativePath ¶
func ErrorContains ¶
func NewVfsFile ¶
func Relativize ¶
func SplitHost ¶
func SplitHost(settings *vfsoptions.VfsOptions) (host string, port int)
Types ¶
type IVfsBuilder ¶
Click to show internal directories.
Click to hide internal directories.