Remove removes a file from the working set (e.g., on REMOVE/RENAME).
(path string)
| 54 | |
| 55 | // Remove removes a file from the working set (e.g., on REMOVE/RENAME). |
| 56 | func (ws *WorkingSet) Remove(path string) { |
| 57 | delete(ws.Files, path) |
| 58 | } |
| 59 | |
| 60 | // ActiveFiles returns files edited since the given duration ago, sorted by last touch (newest first). |
| 61 | func (ws *WorkingSet) ActiveFiles(since time.Duration) []WorkingFile { |
no outgoing calls