|
|
|
@ -7,12 +7,17 @@ import * as fs from 'fs-extra' |
|
|
|
|
import * as isbinaryfile from 'isbinaryfile' |
|
|
|
|
|
|
|
|
|
export class RemixdClient extends PluginClient { |
|
|
|
|
methods: ['folderIsReadOnly', 'resolveDirectory', 'get', 'exists', 'isFile', 'set', 'list', 'isDirectory', 'createDir'] |
|
|
|
|
methods: Array<string> |
|
|
|
|
trackDownStreamUpdate: TrackDownStreamUpdate = {} |
|
|
|
|
websocket: WS |
|
|
|
|
currentSharedFolder: string |
|
|
|
|
readOnly: boolean |
|
|
|
|
|
|
|
|
|
constructor () { |
|
|
|
|
super() |
|
|
|
|
this.methods = ['folderIsReadOnly', 'resolveDirectory', 'get', 'exists', 'isFile', 'set', 'list', 'isDirectory', 'createDir']
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
setWebSocket (websocket: WS): void { |
|
|
|
|
this.websocket = websocket |
|
|
|
|
} |
|
|
|
|