mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
Make SemVersion.Requirement not fun
This commit is contained in:
parent
2035e136f3
commit
9514a5c3e8
@ -64,7 +64,7 @@ internal constructor(
|
||||
* 一条依赖规则
|
||||
* @see [parseRangeRequirement]
|
||||
*/
|
||||
public fun interface Requirement {
|
||||
public interface Requirement {
|
||||
/** 在 [version] 满足此要求时返回 true */
|
||||
public fun test(version: SemVersion): Boolean
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user