pushRenameMap adds the object with hash to the rename map
(hash string, obj fs.Object)
| 792 | |
| 793 | // pushRenameMap adds the object with hash to the rename map |
| 794 | func (s *syncCopyMove) pushRenameMap(hash string, obj fs.Object) { |
| 795 | s.renameMapMu.Lock() |
| 796 | s.renameMap[hash] = append(s.renameMap[hash], obj) |
| 797 | s.renameMapMu.Unlock() |
| 798 | } |
| 799 | |
| 800 | // popRenameMap finds the object with hash and pop the first match from |
| 801 | // renameMap or returns nil if not found. |
no test coverage detected