Documentation
¶
Index ¶
- func Build(opts any) (response vfscommons.IVfs, err error)
- type VfsOS
- func (instance *VfsOS) Cd(path string) (bool, error)
- func (instance *VfsOS) Close()
- func (instance *VfsOS) Download(source, target string) ([]byte, error)
- func (instance *VfsOS) Exists(path string) (bool, error)
- func (instance *VfsOS) IsConnected() bool
- func (instance *VfsOS) ListAll(dir string) ([]*gg_vfs.VfsFile, error)
- func (instance *VfsOS) MkDir(path string) error
- func (instance *VfsOS) Options() (response map[string]interface{})
- func (instance *VfsOS) Path() string
- func (instance *VfsOS) Read(source string) ([]byte, error)
- func (instance *VfsOS) Remove(source string) error
- func (instance *VfsOS) Schema() string
- func (instance *VfsOS) Stat(path string) (*gg_vfs.VfsFile, error)
- func (instance *VfsOS) String() string
- func (instance *VfsOS) Write(data []byte, target string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VfsOS ¶
type VfsOS struct {
// contains filtered or unexported fields
}
func NewVfsOS ¶
func NewVfsOS(options *vfsoptions.VfsOptions) (instance *VfsOS, err error)
func (*VfsOS) IsConnected ¶
Click to show internal directories.
Click to hide internal directories.