Documentation ¶
Overview ¶
/ recursively spider a program directory
Index ¶
- Constants
- func Log(arg ...any)
- type Spider
- func (s *Spider) AllDirs() []string
- func (s *Spider) AllFiles() []string
- func (s *Spider) AllPaths() []string
- func (s *Spider) FilesChanged() <-chan string
- func (s *Spider) IsSpiderable(path string) bool
- func (s *Spider) Spide(path string) error
- func (s *Spider) Stop()
- func (s *Spider) UnSpide(path string) error
Constants ¶
View Source
const ( FS_CREATE = 1 << iota FS_DELETE FS_MODIFY FS_RENAME )
event type
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Spider ¶
func (*Spider) AllPaths ¶ added in v0.0.2
return all paths that are being watched, this method is thread safe
func (*Spider) FilesChanged ¶
func (*Spider) IsSpiderable ¶
to check if a path is spiderable, and this method is thread safe
Click to show internal directories.
Click to hide internal directories.