1 | "use strict";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | Object.defineProperty(exports, "__esModule", { value: true });
|
10 | exports.Empty = void 0;
|
11 | const rxjs_1 = require("rxjs");
|
12 | const exception_1 = require("../../exception");
|
13 | class Empty {
|
14 | constructor() {
|
15 | this.capabilities = {
|
16 | synchronous: true,
|
17 | };
|
18 | }
|
19 | read(path) {
|
20 | return (0, rxjs_1.throwError)(new exception_1.FileDoesNotExistException(path));
|
21 | }
|
22 | list(path) {
|
23 | return (0, rxjs_1.of)([]);
|
24 | }
|
25 | exists(path) {
|
26 | return (0, rxjs_1.of)(false);
|
27 | }
|
28 | isDirectory(path) {
|
29 | return (0, rxjs_1.of)(false);
|
30 | }
|
31 | isFile(path) {
|
32 | return (0, rxjs_1.of)(false);
|
33 | }
|
34 | stat(path) {
|
35 |
|
36 | return (0, rxjs_1.of)(null);
|
37 | }
|
38 | }
|
39 | exports.Empty = Empty;
|