()
| 124 | } |
| 125 | |
| 126 | get fs(): FileSystemApi { |
| 127 | invariant( |
| 128 | this.isConnected, |
| 129 | 'Failed to access the File System API: consumer is not connected. Did you forget to run "connect()"?' |
| 130 | ); |
| 131 | |
| 132 | if (this.fileSystemApi) { |
| 133 | return this.fileSystemApi; |
| 134 | } |
| 135 | |
| 136 | this.fileSystemApi = new FileSystemApi(this.channel); |
| 137 | return this.fileSystemApi; |
| 138 | } |
| 139 | |
| 140 | get shell(): ShellApi { |
| 141 | invariant( |
nothing calls this directly
no outgoing calls
no test coverage detected