diff -r 9cf28ee2a8e9 -r 79794afbbf95 core/src/iosMain/kotlin/licenseplist/LicensePlistParser.kt --- a/core/src/iosMain/kotlin/licenseplist/LicensePlistParser.kt Sun May 04 21:05:24 2025 -0400 +++ b/core/src/iosMain/kotlin/licenseplist/LicensePlistParser.kt Mon May 05 02:56:41 2025 -0400 @@ -39,8 +39,17 @@ import kotlin.coroutines.resumeWithException import kotlin.coroutines.suspendCoroutine +/** + * Parse LicensePlist files + */ class LicensePlistParser { + /** + * Parse LicensePlist files + * + * @param licensePlistInput url of com.mono0926.LicensePlist.plist file + * @return a map of dependency name to license + */ @Suppress("UNCHECKED_CAST") suspend fun parseLicenses( licensePlistInput: NSURL @@ -95,6 +104,9 @@ } companion object { + /** + * Get url of the default LicensePlist file + */ fun getDefaultLicensePlistUrl(): NSURL { val path = NSBundle.mainBundle.pathForResource( "com.mono0926.LicensePlist",