The source set a file is in: `androidMain` of `lib/src/androidMain/kotlin/a/Util.kt`; null outside any `src/ /`.
(filePath: string)
| 2750 | |
| 2751 | /** The source set a file is in: `androidMain` of `lib/src/androidMain/kotlin/a/Util.kt`; null outside any `src/<set>/`. */ |
| 2752 | function kmpSourceSet(filePath: string): string | null { |
| 2753 | return /(?:^|\/)src\/([^/]+)\//.exec(filePath)?.[1] ?? null; |
| 2754 | } |
| 2755 | |
| 2756 | /** What a source set builds for: `android` of `androidMain` and `androidUnitTest`, `common` of `commonTest`. */ |
| 2757 | function kmpBuildTarget(set: string): string { |
no test coverage detected