Documentation ¶
Index ¶
- 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
- type PreviewInfo
- type PreviewType
- type WorkingDir
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFile ¶
func NewBlockFileName ¶
func NewBlockFileName() string
func NewNoteBlockIfNeeded ¶
func ReadDirFilenames ¶
Types ¶
type FileInfo ¶
type PreviewInfo ¶
type PreviewInfo struct { DirFiles []*FileInfo `json:"dirFiles,omitempty"` UTF8 *string `json:"utf8,omitempty"` Type PreviewType `json:"type"` }
type PreviewType ¶
type PreviewType string
type WorkingDir ¶
func NewWorkingDir ¶
func NewWorkingDir() (*WorkingDir, error)
Click to show internal directories.
Click to hide internal directories.