SNRK-66: documentDependencies and dependencyGraph are added
This commit is contained in:
parent
4465e68408
commit
0ef269ec5c
@ -11,6 +11,12 @@ public suspend fun buildDocument(documentPath: String) {
|
|||||||
val documentDirectory: Directory = LocalDirectory(documentPath)
|
val documentDirectory: Directory = LocalDirectory(documentPath)
|
||||||
val documentRoot = documentDirectory.get(DEFAULT_DOCUMENT_ROOT)
|
val documentRoot = documentDirectory.get(DEFAULT_DOCUMENT_ROOT)
|
||||||
|
|
||||||
// val (dependencies, vertex) = parseMd(documentRoot.readAll())
|
val (dependencies, vertex) = parseMd(documentRoot.readAll())
|
||||||
|
|
||||||
|
val documentDependencies: HashMap<String, Dependencies> = HashMap<String, Dependencies>()
|
||||||
|
val dependencyGraph: HashMap<String, DependencyGraphVertex> =
|
||||||
|
HashMap<String, DependencyGraphVertex>()
|
||||||
|
|
||||||
|
documentDependencies.put(documentPath, dependencies)
|
||||||
|
dependencyGraph.put(documentPath, vertex)
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user