tendermint/libs/autofile
Ismail Khoffi 8ae3334423 [libs/autofile & db/fsdb] Throw error if file permissions change (#2286)
* Enforce file permissions in case they've changed

* test behaviour for autofile

* use testify in tests and rename `fInf` to `fileInfo`

* return an error if file permissions have changed

- if we can't read the file, we'll still panic

* get rid of "github.com/pkg/errors" dependency

* address review comments:

- prefix instead of suffix
- add state to err and construct formatting in Error() method

* address review comments:

- move error to libs/errors
2018-09-17 14:38:29 +04:00
..
cmd make linter happy 2018-07-02 12:06:43 -04:00
README.md mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
autofile.go [libs/autofile & db/fsdb] Throw error if file permissions change (#2286) 2018-09-17 14:38:29 +04:00
autofile_test.go [libs/autofile & db/fsdb] Throw error if file permissions change (#2286) 2018-09-17 14:38:29 +04:00
group.go Merge pull request #2307 from tendermint/master 2018-08-31 14:42:48 -04:00
group_test.go [libs/autofile] create a Group ticker on Start 2018-08-03 11:34:58 +04:00
sighup_watcher.go exit from initSighupWatcher child goroutine 2018-08-02 16:42:25 +04:00

README.md

go-autofile