POC showing how statfile can call the conn wshclient to get file info (#242)

This commit is contained in:
Mike Sawka
2024-08-16 18:45:45 -07:00
committed by GitHub
parent e4c74a58bb
commit a451743937
7 changed files with 44 additions and 24 deletions
+3 -1
View File
@@ -74,7 +74,9 @@ class FileServiceType {
SaveFile(arg1: string, arg2: string): Promise<void> {
return WOS.callBackendService("file", "SaveFile", Array.from(arguments))
}
StatFile(arg1: string): Promise<FileInfo> {
// get file info
StatFile(connection: string, path: string): Promise<FileInfo> {
return WOS.callBackendService("file", "StatFile", Array.from(arguments))
}
}