diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2017-12-29 22:18:02 +0100 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2017-12-29 22:59:22 +0100 |
commit | 83e6dd9ac97d5f2faf1528228dfcb4fdf47cb3f7 (patch) | |
tree | d31a8827718c3a058967e929b619ac436e2eae45 /backup/backup.go | |
parent | b01cef071c5e95f73e756c3d039e2ddf1a6ed3df (diff) | |
download | petrific-83e6dd9ac97d5f2faf1528228dfcb4fdf47cb3f7.tar.gz petrific-83e6dd9ac97d5f2faf1528228dfcb4fdf47cb3f7.tar.bz2 petrific-83e6dd9ac97d5f2faf1528228dfcb4fdf47cb3f7.zip |
Fix caching
Diffstat (limited to 'backup/backup.go')
-rw-r--r-- | backup/backup.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backup/backup.go b/backup/backup.go index 84fb554..5e4ffc1 100644 --- a/backup/backup.go +++ b/backup/backup.go @@ -108,7 +108,7 @@ func (proc writeDirProcess) writeDir( switch c.Type() { case fs.FFile: - mtime, file_id, ok := pcache.PathUpdated(abspath) + mtime, file_id, ok := pcache.PathUpdated(abspath + "/" + c.Name()) if !ok || mtime.Before(c.ModTime()) { // According to cache the file was changed |