File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
flow/src/commonMain/kotlin/org/onflow/flow/infrastructure/scripts Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ package org.onflow.flow.infrastructure.scripts
2
2
3
3
import org.onflow.flow.ChainId
4
4
5
- /* ────────────────────────────────────────────────────────────
6
- * PUBLIC API TYPES
7
- * ─────────────────────────────────────────────────────────── */
8
-
9
5
/* *
10
6
* Implement this interface to refer to a Cadence file by (directory, filename)
11
7
* instead of two plain strings.
@@ -30,10 +26,6 @@ expect class CadenceLoader(chainId: ChainId) {
30
26
/* * Platform-specific resource reader used by the platform `CadenceLoader`. */
31
27
internal expect fun loadResource (path : String ): String
32
28
33
- /* ────────────────────────────────────────────────────────────
34
- * INSTANCE-SCOPED SCRIPT LOADER
35
- * ─────────────────────────────────────────────────────────── */
36
-
37
29
/* *
38
30
* Loads Cadence scripts for a **single** Flow network.
39
31
*
@@ -58,8 +50,6 @@ class CadenceScriptLoader(chainId: ChainId) {
58
50
fun load (path : CadenceLoaderProtocol ): String =
59
51
load(path.filename, path.directory)
60
52
61
- /* ───────────────────────────────────────────────────────── */
62
-
63
53
private fun buildResourcePath (name : String , directory : String ): String =
64
54
buildString {
65
55
append(" scripts/" )
You can’t perform that action at this time.
0 commit comments