Add some text, remove mod from index when done

This commit is contained in:
comp500
2019-04-26 18:39:55 +01:00
parent e2c772ee30
commit 1a42abc0d6
2 changed files with 42 additions and 13 deletions

View File

@@ -150,8 +150,6 @@ func (in *Index) updateFile(path string) error {
// Refresh updates the hashes of all the files in the index, and adds new files to the index
func (in *Index) Refresh() error {
// TODO: enumerate existing files, check if they exist (remove if they don't)
// TODO: If needed, multithreaded hashing
// for i := 0; i < runtime.NumCPU(); i++ {}