Skip to content

Commit ecd7218

Browse files
committed
Remove unused function
1 parent bd2af36 commit ecd7218

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

modules/versions.xqm

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -150,18 +150,3 @@ function versions:is-older($available as xs:string, $installed as xs:string) as
150150
)
151151
};
152152

153-
declare
154-
%private
155-
function versions:compare-versions($installed as xs:string*, $available as xs:string*, $compare as function(*)) as xs:boolean {
156-
if (empty($installed)) then
157-
exists($available)
158-
else if (empty($available)) then
159-
false()
160-
else if (head($available) = head($installed)) then
161-
if (count($available) = 1 and count($installed) = 1) then
162-
true()
163-
else
164-
versions:compare-versions(tail($installed), tail($available), $compare)
165-
else
166-
$compare(head($available), head($installed))
167-
};

0 commit comments

Comments
 (0)