fs

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AFSProxy

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

AFSProxy ...

func (*AFSProxy) CreateTempFile

func (inst *AFSProxy) CreateTempFile(prefix, suffix string, dir afs.Path) (afs.Path, error)

CreateTempFile ...

func (*AFSProxy) FS

func (inst *AFSProxy) FS() afs.FS

FS ...

func (*AFSProxy) ListRoots

func (inst *AFSProxy) ListRoots() []afs.Path

ListRoots ...

func (*AFSProxy) NewPath

func (inst *AFSProxy) NewPath(path string) afs.Path

NewPath ...

func (*AFSProxy) PathSeparator

func (inst *AFSProxy) PathSeparator() string

PathSeparator return ';'(windows) | ':'(unix)

func (*AFSProxy) Separator

func (inst *AFSProxy) Separator() string

Separator return '/'(unix) | '\'(windows)

func (*AFSProxy) SetDefaultOptionsHandler

func (inst *AFSProxy) SetDefaultOptionsHandler(fn afs.OptionsHandlerFunc) error

SetDefaultOptionsHandler 设置一个函数,用来处理默认的I/O选项

Jump to

Keyboard shortcuts

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