Commit Graph
19 Commits
Author SHA1 Message Date
Rafal Jeczalik e4fec824e0 util: canonical resolves relative symlinks
Fixes #83.
2015-09-11 05:27:15 +02:00
Rafal Jeczalik 4f78a83e66 implement Watch for non-recursive tree
Part of #5.
2015-02-25 15:20:38 +01:00
Rafal Jeczalik dcdfbe945e rename Delete and Move events
notify.Delete -> notify.Remove (because os.Remove)
notify.Move -> notify.Rename (because os.Rename)

Fixes #70.
2015-02-16 00:43:00 +01:00
Rafal Jeczalik bd62d61df5 update license / authors
Done with:

  ~ $ find . -type f -name '*.go' -exec prepend -f preamble.txt {} \;

Automate with CI?
2015-02-15 13:44:09 +01:00
Rafal Jeczalik 82431eaf54 make internal structs unexported 2015-01-21 22:41:21 +01:00
Rafal Jeczalik 4962a5e62b don't test canonical on symlinks under Windows
https://ci.appveyor.com/project/yaey8Hee/Oong7Pha
2015-01-17 15:44:59 +01:00
Rafal Jeczalik 13c386b1a4 fix for go vet
https://ci.appveyor.com/project/yaey8Hee/oong7pha/build/353
2015-01-17 15:13:38 +01:00
Rafal Jeczalik 76442e1605 add canonical function
It's supposed to work like realpath(3), but implemented in Go. It should
use system-specific syscalls.
2015-01-17 14:37:22 +01:00
Rafal Jeczalik cb55102b19 fix TestTreeSplit even more 2015-01-03 21:30:07 +01:00
Rafal Jeczalik ff898116a4 fix TestTreeSplit on Windows 2015-01-03 12:40:44 +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
Rafal Jeczalik 17d5f6ff74 runtime: Add RecurisveRewatcher trait and stub for it 2014-10-24 23:15:38 +02:00
Rafal Jeczalik 22da03d639 Rework Event to have platform-specific event types 2014-09-20 22:17:29 +02:00
Rafal Jeczalik 5ade0c5df1 Remove Recursive event (#14) 2014-09-20 16:31:03 +02:00
Rafal Jeczalik f33bc764ef Add a test-case for issue #16 2014-09-19 20:55:53 +02:00
Rafal Jeczalik 94a684112d Rename few things here and there
So Knapson does not complain so much. The Recurisve question is still
open. X(
2014-09-19 10:12:41 +02:00
Rafal Jeczalik 36730dd53a Fix walkpath + more test-cases 2014-09-14 14:46:43 +02:00
Rafal Jeczalik 4ae4d6def7 Move walkpath to util.go + add tests 2014-09-13 22:34:51 +02:00
Rafal Jeczalik daf3465cee Move utility funcs to util.go 2014-09-13 17:03:39 +02:00