The source set a file is in: `androidMain` of `lib/src/androidMain/kotlin/a/Util.kt`; null outside any `src/ /`.
(filePath: string)
| 2837 | |
| 2838 | /** The source set a file is in: `androidMain` of `lib/src/androidMain/kotlin/a/Util.kt`; null outside any `src/<set>/`. */ |
| 2839 | function kmpSourceSet(filePath: string): string | null { |
| 2840 | return /(?:^|\/)src\/([^/]+)\//.exec(filePath)?.[1] ?? null; |
| 2841 | } |
| 2842 | |
| 2843 | /** What a source set builds for: `android` of `androidMain` and `androidUnitTest`, `common` of `commonTest`. */ |
| 2844 | function kmpBuildTarget(set: string): string { |
no test coverage detected