Add comments
This commit is contained in:
parent
a13c4a8e8c
commit
9a41f67e29
@ -1,6 +1,6 @@
|
|||||||
package documentBuilder
|
package documentBuilder
|
||||||
|
|
||||||
internal class GraphManager(private val graph: DependencyGraph) {
|
public class GraphManager(private val graph: DependencyGraph) {
|
||||||
fun buildDocument(file: FileName) {
|
fun buildDocument(file: FileName) {
|
||||||
val list = graph.nodes[file]
|
val list = graph.nodes[file]
|
||||||
if (list != null) {
|
if (list != null) {
|
||||||
|
@ -7,7 +7,9 @@ import space.kscience.snark.ktor.SNARKServer
|
|||||||
import space.kscience.snark.storage.local.localStorage
|
import space.kscience.snark.storage.local.localStorage
|
||||||
import kotlin.io.path.Path
|
import kotlin.io.path.Path
|
||||||
|
|
||||||
|
// Entrypoint
|
||||||
fun main(): Unit = runBlocking {
|
fun main(): Unit = runBlocking {
|
||||||
|
// Parse config, create driver
|
||||||
val port = 8080
|
val port = 8080
|
||||||
val directory = localStorage(Path("./rundata"))
|
val directory = localStorage(Path("./rundata"))
|
||||||
val server = SNARKServer(ServerDataHolder(directory), port)
|
val server = SNARKServer(ServerDataHolder(directory), port)
|
||||||
|
Loading…
Reference in New Issue
Block a user