Commit Graph

6 Commits

Author SHA1 Message Date
Xuanwo fe7973fa7f
feat: Add cache layer for write operations (#16)
* feat: Add cache layer for write operations

Signed-off-by: Xuanwo <github@xuanwo.io>

* fix: Cache not started

Signed-off-by: Xuanwo <github@xuanwo.io>

* fix write not correctly

Signed-off-by: Xuanwo <github@xuanwo.io>

* format imports

Signed-off-by: Xuanwo <github@xuanwo.io>
2021-08-02 17:11:12 +08:00
Xuanwo 82b0bd746c
vfs: Implement Read support (#14)
Signed-off-by: Xuanwo <github@xuanwo.io>
2021-07-16 17:36:18 +08:00
Xuanwo a1d9d0c129
vfs: Implement Create support (#13)
* vfs: Implement Create support

Signed-off-by: Xuanwo <github@xuanwo.io>

* Format code

Signed-off-by: Xuanwo <github@xuanwo.io>
2021-07-16 14:37:12 +08:00
Xuanwo 0b64b1feef
vfs: Use fuse.Forget instead of cache TTL (#12)
* vfs: Use fuse.Forget instead of cache TTL

Signed-off-by: Xuanwo <github@xuanwo.io>

* Update docs

Signed-off-by: Xuanwo <github@xuanwo.io>
2021-07-16 13:41:22 +08:00
Xuanwo 2ce6125fbc
vfs: Implement unlink (#9)
* vfs: Implement unlink

Signed-off-by: Xuanwo <github@xuanwo.io>

* Increase ttl

Signed-off-by: Xuanwo <github@xuanwo.io>
2021-07-15 18:14:12 +08:00
Xuanwo 55e69864a9
Implement basic operations (#7)
* Implement basic operations

Signed-off-by: Xuanwo <github@xuanwo.io>

* Remove build on windows

Signed-off-by: Xuanwo <github@xuanwo.io>

* Fix build

Signed-off-by: Xuanwo <github@xuanwo.io>

* Update badger

Signed-off-by: Xuanwo <github@xuanwo.io>

* Readdir is work

Signed-off-by: Xuanwo <github@xuanwo.io>

* Fix inode not found

Signed-off-by: Xuanwo <github@xuanwo.io>
2021-07-15 17:59:57 +08:00