1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-12-01 14:18:06 +00:00

Make some functions unexported

This commit is contained in:
Timur Ismagilov
2021-12-20 23:59:23 +03:00
parent cd18a99bc0
commit fbcbd0e445
4 changed files with 38 additions and 36 deletions

View File

@@ -21,9 +21,9 @@ func Index(path string) {
for h := range ch {
// It's safe to ignore the mutex because there is a single worker right now.
if oh := ByName(h.Name); oh.Exists {
oh.MergeIn(h)
oh.mergeIn(h)
} else {
h.Insert()
h.insert()
}
}