vfs_os

package
v0.3.71 Latest Latest
Warning

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

Go to latest
Published: May 17, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(opts any) (response vfscommons.IVfs, err error)

Types

type VfsOS

type VfsOS struct {
	// contains filtered or unexported fields
}

func NewVfsOS

func NewVfsOS(options *vfsoptions.VfsOptions) (instance *VfsOS, err error)

func (*VfsOS) Cd

func (instance *VfsOS) Cd(path string) (bool, error)

func (*VfsOS) Close

func (instance *VfsOS) Close()

func (*VfsOS) Download

func (instance *VfsOS) Download(source, target string) ([]byte, error)

func (*VfsOS) Exists

func (instance *VfsOS) Exists(path string) (bool, error)

func (*VfsOS) IsConnected

func (instance *VfsOS) IsConnected() bool

func (*VfsOS) ListAll

func (instance *VfsOS) ListAll(dir string) ([]*gg_vfs.VfsFile, error)

func (*VfsOS) MkDir

func (instance *VfsOS) MkDir(path string) error

func (*VfsOS) Options

func (instance *VfsOS) Options() (response map[string]interface{})

func (*VfsOS) Path

func (instance *VfsOS) Path() string

func (*VfsOS) Read

func (instance *VfsOS) Read(source string) ([]byte, error)

func (*VfsOS) Remove

func (instance *VfsOS) Remove(source string) error

func (*VfsOS) Schema

func (instance *VfsOS) Schema() string

func (*VfsOS) Stat

func (instance *VfsOS) Stat(path string) (*gg_vfs.VfsFile, error)

func (*VfsOS) String

func (instance *VfsOS) String() string

func (*VfsOS) Write

func (instance *VfsOS) Write(data []byte, target string) (int, error)

Jump to

Keyboard shortcuts

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