permcheck: imp doc

This commit is contained in:
Eugene Burkov 2024-11-29 18:07:15 +03:00
parent 0b6a71326e
commit b1fc67c4d1
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ import (
type entity = container.KeyValue[string, bool] type entity = container.KeyValue[string, bool]
// entities returns a list of filesystem entities that need to be ranged over. // entities returns a list of filesystem entities that need to be ranged over.
//
// TODO(a.garipov): Put all paths in one place and remove this duplication.
func entities(workDir, dataDir, statsDir, querylogDir, confFilePath string) (ents []entity) { func entities(workDir, dataDir, statsDir, querylogDir, confFilePath string) (ents []entity) {
ents = []entity{{ ents = []entity{{
Key: workDir, Key: workDir,