Skip to content

Commit cbb691d

Browse files
committed
Allow public use of version helpers
1 parent 974c47e commit cbb691d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/allonet2/allonet2.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ public struct Allonet
2222
}
2323
}
2424

25-
extension PackageBuild
25+
public extension PackageBuild
2626
{
2727
public var version: Version
2828
{
2929
return Version(tolerant: tag!)!
3030
}
3131

32-
var describe: String
32+
public var describe: String
3333
{
3434
if tag == nil,
3535
digest.isEmpty {
@@ -50,7 +50,7 @@ extension PackageBuild
5050
}
5151
}
5252

53-
extension Version
53+
public extension Version
5454
{
5555
func serverIsCompatibleWith(clientVersion: Version) -> Bool
5656
{

0 commit comments

Comments
 (0)