mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
POC showing how statfile can call the conn wshclient to get file info (#242)
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user