Skip to content

Commit 18bb136

Browse files
committed
Expose default mode to config:repo-permissions
1 parent 46df57c commit 18bb136

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/config.xqm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,14 @@ declare function config:repo-descriptor() as element(repo:meta) {
7171
};
7272

7373
(:~
74-
: Returns the user and group from the repo.xml descriptor.
74+
: Returns the permissions information from the repo.xml descriptor.
7575
:)
7676
declare function config:repo-permissions() as map(*) {
7777
config:repo-descriptor()/repo:permissions !
7878
map {
7979
"user": ./@user/string(),
80-
"group": ./@group/string()
80+
"group": ./@group/string(),
81+
"mode": ./@mode/string()
8182
}
8283
};
8384

0 commit comments

Comments
 (0)