rclone/vfs/vfscommon
albertony 2437eb3cce vfs: fix incorrect detection of root in parent directory utility function
When using filepath.Dir, a difference to path.Dir is that it returns os PathSeparator
instead of slash when the path consists entirely of separators.

Also fixed casing of the function name, use OS in all caps instead of Os
as recommended here: https://github.com/golang/go/wiki/CodeReviewComments#initialisms
2022-05-16 12:43:43 +02:00
..
cachemode_test.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
cachemode.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
options.go vfs: add --vfs-fast-fingerprint for less accurate but faster fingerprints 2022-03-22 16:33:24 +00:00
path.go vfs: fix incorrect detection of root in parent directory utility function 2022-05-16 12:43:43 +02:00