Versions in this module Expand all Collapse all v1 v1.1.0 May 7, 2024 v1.0.0 Apr 26, 2024 Changes in this version + func AddFile(path string) error + func CopyFile(src, dst string) error + func DeleteFile(path string) error + func MoveFile(src, dst string) error + func NewBlockFileName() string + func NewNoteBlockIfNeeded(path, noteIDStr string) error + func ReadDirFilenames(path string) ([]string, error) + type FileInfo struct + GroupName string + IsDir bool + ModTime string + Mode string + Name string + RawSize int64 + Size string + Username string + func NewFileInfo(name string, f fs.FileInfo) *FileInfo + func ReadDirFiles(path string, hidden bool) ([]*FileInfo, error) + type PreviewInfo struct + DirFiles []*FileInfo + Type PreviewType + UTF8 *string + func Preview(path string, hidden bool) (*PreviewInfo, error) + type PreviewType string + type WorkingDir struct + HomeDir string + Path string + Separator string + func NewWorkingDir() (*WorkingDir, error)