Documentation
¶
Index ¶
- func Version()
- type FileApi
- func (fi *FileApi) DeleteFile(file string) error
- func (fi *FileApi) EchoAdd(text, filename string, wrap bool) error
- func (fi *FileApi) Exists(path string) error
- func (fi *FileApi) IsDir(path string) (bool, error)
- func (fi *FileApi) IsFile(path string) (err error)
- func (fi *FileApi) Mkdir(dir string, mode fs.FileMode) error
- func (fi *FileApi) ReadLine(line int) (string, error)
- func (fi *FileApi) ReadOnlyAll() (string, error)
- func (fi *FileApi) WriteTxtAppend(text, filename string, wrap bool) error
- type ReadScreen
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileApi ¶
type FileApi struct { FileName string // 需要操作的文件名 // contains filtered or unexported fields }
func (*FileApi) ReadOnlyAll ¶
ReadOnlyAll 以只读方式读取文件所有内容
type ReadScreen ¶
type ReadScreen struct {
Str string // 字符串内容
}
Click to show internal directories.
Click to hide internal directories.