func checkRefs()

in Sources/SwiftCodeSanKit/FileParsers/DeclParser.swift [169:184]


    func checkRefs(paths: [String],
                   isDirs: Bool,
                   pathToModules: [String: String],
                   declMap: DeclMap,
                   completion: @escaping (String, Set<String>, [String]) -> ()) {

        if isDirs {
            scan(dirs: paths) { (path: String, lock: NSLock?) in
                self.referenceSrc(path: path, module: pathToModules[path] ?? "", declMap: declMap, lock: lock, completion: completion)
            }
        } else {
            scan(paths) { (path: String, lock: NSLock?) in
                self.referenceSrc(path: path, module: pathToModules[path] ?? "", declMap: declMap, lock: lock, completion: completion)
            }
        }
    }