We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b4b7d5 commit 514748fCopy full SHA for 514748f
1 file changed
pkg/sync/pull.go
@@ -383,6 +383,12 @@ func (self *Puller) Pull() string {
383
// delete files not exist in remote source
384
for f, _ := range self.filesToDelete {
385
os.Remove(f)
386
+ uidKey, err := uidKeyFromLocalPath(self.LocalDir, f)
387
+ if err == nil {
388
+ self.uidLock.Lock()
389
+ delete(self.uidCache, uidKey)
390
+ self.uidLock.Unlock()
391
+ }
392
}
393
394
return pullErrMsg
0 commit comments