* Restore from JSON
(json: string)
| 466 | * Restore from JSON |
| 467 | */ |
| 468 | fromJSON(json: string): void { |
| 469 | const snapshot = JSON.parse(json) as FileSystemSnapshot; |
| 470 | this.fromSnapshot(snapshot); |
| 471 | } |
| 472 | |
| 473 | // ============ Get State ============ |
| 474 |
no test coverage detected