Documentation
¶
Index ¶
- Constants
- func InitIndex(monitored string, db *sql.DB) error
- func LikeSafe(path string) string
- func PathSafe(path string) string
- func ProcessDirChange(thePath string, info os.FileInfo, monitored string)
- func ProcessEvent(watcher *fsnotify.Watcher, monitored string)
- func ProcessFileChange(thePath string, info os.FileInfo, monitored string)
- func ProcessFileDelete(thePath string, monitored string)
- func SlashSuffix(path string) string
- func WatchRecursively(watcher *fsnotify.Watcher, root string, monitored string) error
- type IndexedFile
- type IndexedFilePart
Constants ¶
View Source
const (
BLOCK_SIZE int64 = 1 << 20
)
Variables ¶
This section is empty.
Functions ¶
func ProcessEvent ¶
func ProcessFileDelete ¶
func SlashSuffix ¶
Types ¶
type IndexedFile ¶
Click to show internal directories.
Click to hide internal directories.