Documentation
¶
Index ¶
- Constants
- Variables
- func DumpErr(err any, stack any)
- func Error(v ...any)
- func Exists(name string) bool
- func Exit(v ...any)
- func IsPiped(file File) bool
- func Panic(v ...any)
- func Persist(name string) string
- func Setup()
- func Shell()
- type File
- type FileData
- func (fd *FileData) Bytes() []byte
- func (fd *FileData) Close() error
- func (fd *FileData) Name() string
- func (fd *FileData) Read(b []byte) (n int, err error)
- func (fd *FileData) ReadAt(b []byte, off int64) (n int, err error)
- func (fd *FileData) ReadFrom(r io.Reader) (n int64, err error)
- func (fd *FileData) Seek(offset int64, whence int) (int64, error)
- func (fd *FileData) Stat() (fs.FileInfo, error)
- func (fd *FileData) Truncate(size int64) error
- func (fd *FileData) Watch(ch chan fsnotify.Event)
- func (fd *FileData) Write(b []byte) (n int, err error)
- func (fd *FileData) WriteAt(b []byte, off int64) (n int, err error)
- func (fd *FileData) WriteString(s string) (n int, err error)
- func (fd *FileData) WriteTo(w io.Writer) (n int64, err error)
- type FileInfo
Constants ¶
View Source
const (
Dump = ".fox_dump"
)
Variables ¶
View Source
var (
ErrorInvalidOffset = errors.New("invalid offset")
)
View Source
var (
Log *logger // global logger
)
Functions ¶
Types ¶
type File ¶
type FileData ¶
func NewFileData ¶
type FileInfo ¶
type FileInfo struct {
// contains filtered or unexported fields
}
func NewFileInfo ¶
Click to show internal directories.
Click to hide internal directories.