Commit Graph
9 Commits
Author SHA1 Message Date
Rafal Jeczalik 4b0535ec1c tree: implement Stop for recursive watchers (#6) 2015-02-08 14:49:05 +01:00
Rafal Jeczalik 463963cd6f add more test-cases for recursive tree (#6)
- fix rewatching parent leaf directory (case 1)
- remove dead code (case 3)
2015-01-26 22:41:47 +01:00
Rafal Jeczalik 86d2374d21 add Watch implementation for recursive watchers (#6) 2015-01-25 23:15:31 +01:00
Rafal Jeczalik 82431eaf54 make internal structs unexported 2015-01-21 22:41:21 +01:00
Rafal Jeczalik b720090161 split tree traversal / building into Node and Root (#6)
First part of watchpoint tree refactoring. Currently Tree implements
strategies for setting both recursive and non-recursive watchpoints,
and logic for traversing and buidling tree.

The refactoring is about splitting tree traversing / building into Node
and Root structs, and implementing two separate trees - one for Watcher
and one for RecursiveWatcher.
2015-01-11 17:22:39 +01:00
Rafal Jeczalik 99b274c9f5 tree: fix (*Tree).Stop test 2014-11-27 21:37:12 +01:00
Rafal Jeczalik 0f9a9054f9 tree: actually working path-join-fix for Windows 2014-11-23 23:54:05 +01:00
Rafal Jeczalik 6fea990668 tree: fix path join for Windows 2014-11-23 23:40:15 +01:00
Rafal Jeczalik e463986b94 Move helper types and function to separate files
* types -> node.go
* functions -> util.go

+ spring cleaning
2014-11-23 11:56:23 +01:00