• Han-Wen Nienhuys's avatar
    Clean up cache handling: · c9b1b570
    Han-Wen Nienhuys authored
    * Always strip trailing '/' from keys
    
    * UnionFs.getBranchResult() to cut down on type casts.
    
    * Introduct UnionFs.promoteDirsTo(), updating the branch cache for
      each parent directory too.
    
    * On Chmod, update the branchcache too.
    
    * On file release, drop the cache entry, which probably has incorrect
      file size.
    c9b1b570
unionfs_test.go 7.7 KB