Skip to content

Commit 1fe6c14

Browse files
committed
Add a comment about embedKernel function
1 parent 9d34cf7 commit 1fe6c14

File tree

1 file changed

+5
-0
lines changed
  • src/main/kotlin/org/jetbrains/kotlin/jupyter

1 file changed

+5
-0
lines changed

src/main/kotlin/org/jetbrains/kotlin/jupyter/ikotlin.kt

+5
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ fun main(vararg args: String) {
7575
}
7676
}
7777

78+
/**
79+
* This function is to be run in projects which use kernel as a library,
80+
* so we don't have a big need in covering it with tests
81+
*/
82+
@Suppress("unused")
7883
fun embedKernel(cfgFile: File, libraryFactory: LibraryFactory?, scriptReceivers: List<Any>?) {
7984
val cp = System.getProperty("java.class.path").split(File.pathSeparator).toTypedArray().map { File(it) }
8085
val config = KernelConfig.fromConfig(

0 commit comments

Comments
 (0)