This commit is contained in:
Xuan Sang LE
2018-01-23 18:16:41 +01:00
parent c3e5b2749e
commit a70f52f965
6 changed files with 111 additions and 21 deletions

View File

@ -3,6 +3,12 @@ self.OS.API.handler =
path = "lua-api/fs/scandir"
_API.post path, { path: p }, c, (e, s) ->
_courrier.osfail "Fail to scan directory: #{path}", e, s
fileinfo: (p, c) ->
path = "lua-api/fs/fileinfo"
_API.post path, { path: p }, c, (e, s) ->
_courrier.osfail "Fail to get file metadata: #{path}", e, s
scanapp: (p, c ) ->
path = "lua-api/system/application"
auth: (c) ->