aboutsummaryrefslogtreecommitdiff
path: root/cryptfs/content_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-12-19 13:21:15 +0100
committerJakob Unterwurzacher2015-12-19 13:21:15 +0100
commit88826dc51d7919ef8b190c079955230e653323e2 (patch)
tree73baf5d51575200afd4aaa331aff0a3b281b87a5 /cryptfs/content_test.go
parent00a712b4d1e68bb3c156eb8f97fbb89d684a7e92 (diff)
diriv: handle directory rename over directory
If an empty directory is overwritten we will always get ENOTEMPTY as the "empty" directory will still contain gocryptfs.diriv. Handle that case by removing the target directory and trying again. Fixes issue #10
Diffstat (limited to 'cryptfs/content_test.go')
0 files changed, 0 insertions, 0 deletions