@duplojs/server 0.1.0-beta.3 → 0.1.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/command/argument.d.ts +2 -2
- package/dist/command/create.cjs +7 -1
- package/dist/command/create.d.ts +3 -3
- package/dist/command/create.mjs +7 -1
- package/dist/command/error.cjs +24 -0
- package/dist/command/error.d.ts +9 -1
- package/dist/command/error.mjs +24 -0
- package/dist/command/exec.d.ts +4 -3
- package/dist/command/help.d.ts +1 -1
- package/dist/command/index.cjs +4 -0
- package/dist/command/index.mjs +4 -2
- package/dist/command/options/base.cjs +21 -13
- package/dist/command/options/base.d.ts +6 -0
- package/dist/command/options/base.mjs +20 -14
- package/dist/command/options/defaults/array.d.ts +6 -4
- package/dist/command/options/defaults/boolean.cjs +21 -7
- package/dist/command/options/defaults/boolean.d.ts +6 -3
- package/dist/command/options/defaults/boolean.mjs +20 -8
- package/dist/command/options/defaults/simple.d.ts +6 -4
- package/dist/command/types/forbiddenInvalidIdentifier.d.ts +6 -0
- package/dist/command/types/index.d.ts +1 -0
- package/dist/common/environmentVariable/index.d.ts +1 -1
- package/dist/common/environmentVariable/overrideEnvironmentVariables.d.ts +1 -1
- package/dist/common/environmentVariable/parseEnvironmentFiles.d.ts +1 -1
- package/dist/dataStructure/helper/file.d.ts +1 -1
- package/dist/dataStructure/helper/folder.d.ts +1 -1
- package/dist/file/appendFile.cjs +10 -0
- package/dist/file/appendFile.d.ts +13 -13
- package/dist/file/appendFile.mjs +1 -1
- package/dist/file/appendTextFile.cjs +10 -0
- package/dist/file/appendTextFile.d.ts +13 -13
- package/dist/file/appendTextFile.mjs +1 -1
- package/dist/file/copy.cjs +10 -0
- package/dist/file/copy.d.ts +13 -13
- package/dist/file/copy.mjs +1 -1
- package/dist/file/createEntryInterface.cjs +4 -1
- package/dist/file/createEntryInterface.d.ts +1 -1
- package/dist/file/createEntryInterface.mjs +3 -1
- package/dist/file/ensureDirectory.cjs +8 -0
- package/dist/file/ensureDirectory.d.ts +10 -10
- package/dist/file/ensureDirectory.mjs +1 -1
- package/dist/file/ensureFile.cjs +9 -0
- package/dist/file/ensureFile.d.ts +11 -11
- package/dist/file/ensureFile.mjs +1 -1
- package/dist/file/exists.cjs +5 -0
- package/dist/file/exists.d.ts +7 -7
- package/dist/file/exists.mjs +1 -1
- package/dist/file/fileInterface.cjs +1 -1
- package/dist/file/fileInterface.d.ts +5 -6
- package/dist/file/fileInterface.mjs +1 -1
- package/dist/file/folderInterface.cjs +1 -1
- package/dist/file/folderInterface.d.ts +5 -6
- package/dist/file/folderInterface.mjs +1 -1
- package/dist/file/index.cjs +506 -0
- package/dist/file/index.mjs +285 -32
- package/dist/file/link.cjs +11 -0
- package/dist/file/link.d.ts +14 -14
- package/dist/file/link.mjs +1 -1
- package/dist/file/linkStat.cjs +6 -0
- package/dist/file/linkStat.d.ts +8 -8
- package/dist/file/linkStat.mjs +1 -1
- package/dist/file/makeDirectory.cjs +10 -0
- package/dist/file/makeDirectory.d.ts +12 -12
- package/dist/file/makeDirectory.mjs +1 -1
- package/dist/file/makeTemporaryDirectory.cjs +7 -0
- package/dist/file/makeTemporaryDirectory.d.ts +7 -7
- package/dist/file/makeTemporaryDirectory.mjs +1 -1
- package/dist/file/makeTemporaryFile.cjs +8 -0
- package/dist/file/makeTemporaryFile.d.ts +8 -8
- package/dist/file/makeTemporaryFile.mjs +1 -1
- package/dist/file/move.cjs +11 -0
- package/dist/file/move.d.ts +14 -14
- package/dist/file/move.mjs +1 -1
- package/dist/file/readDirectory.cjs +6 -0
- package/dist/file/readDirectory.d.ts +8 -8
- package/dist/file/readDirectory.mjs +1 -1
- package/dist/file/readFile.cjs +7 -0
- package/dist/file/readFile.d.ts +9 -9
- package/dist/file/readFile.mjs +1 -1
- package/dist/file/readJsonFile.cjs +7 -0
- package/dist/file/readJsonFile.d.ts +9 -9
- package/dist/file/readJsonFile.mjs +1 -1
- package/dist/file/readLink.cjs +6 -0
- package/dist/file/readLink.d.ts +8 -8
- package/dist/file/readLink.mjs +1 -1
- package/dist/file/readTextFile.cjs +7 -0
- package/dist/file/readTextFile.d.ts +9 -9
- package/dist/file/readTextFile.mjs +1 -1
- package/dist/file/realPath.cjs +5 -0
- package/dist/file/realPath.d.ts +7 -7
- package/dist/file/realPath.mjs +1 -1
- package/dist/file/relocate.cjs +11 -0
- package/dist/file/relocate.d.ts +14 -14
- package/dist/file/relocate.mjs +1 -1
- package/dist/file/remove.cjs +9 -0
- package/dist/file/remove.d.ts +11 -11
- package/dist/file/remove.mjs +1 -1
- package/dist/file/rename.cjs +11 -0
- package/dist/file/rename.d.ts +14 -14
- package/dist/file/rename.mjs +1 -1
- package/dist/file/setMode.cjs +6 -0
- package/dist/file/setMode.d.ts +9 -9
- package/dist/file/setMode.mjs +1 -1
- package/dist/file/setOwner.cjs +6 -0
- package/dist/file/setOwner.d.ts +9 -9
- package/dist/file/setOwner.mjs +1 -1
- package/dist/file/setTime.cjs +6 -0
- package/dist/file/setTime.d.ts +9 -9
- package/dist/file/setTime.mjs +1 -1
- package/dist/file/stat.cjs +6 -0
- package/dist/file/stat.d.ts +8 -8
- package/dist/file/stat.mjs +1 -1
- package/dist/file/symlink.cjs +9 -0
- package/dist/file/symlink.d.ts +12 -12
- package/dist/file/symlink.mjs +1 -1
- package/dist/file/truncate.cjs +10 -0
- package/dist/file/truncate.d.ts +12 -12
- package/dist/file/truncate.mjs +1 -1
- package/dist/file/unknownEntryInterface.cjs +3 -1
- package/dist/file/unknownEntryInterface.d.ts +4 -4
- package/dist/file/unknownEntryInterface.mjs +2 -1
- package/dist/file/walkDirectory.cjs +11 -1
- package/dist/file/walkDirectory.d.ts +9 -9
- package/dist/file/walkDirectory.mjs +6 -2
- package/dist/file/writeFile.cjs +10 -0
- package/dist/file/writeFile.d.ts +13 -13
- package/dist/file/writeFile.mjs +1 -1
- package/dist/file/writeJsonFile.cjs +10 -0
- package/dist/file/writeJsonFile.d.ts +13 -13
- package/dist/file/writeJsonFile.mjs +1 -1
- package/dist/file/writeTextFile.cjs +10 -0
- package/dist/file/writeTextFile.d.ts +13 -13
- package/dist/file/writeTextFile.mjs +1 -1
- package/dist/override.d.ts +8 -0
- package/package.json +3 -3
package/dist/file/relocate.cjs
CHANGED
|
@@ -69,4 +69,15 @@ function relocate(...args) {
|
|
|
69
69
|
return relocateImplementation(...args);
|
|
70
70
|
}
|
|
71
71
|
//#endregion
|
|
72
|
+
exports.RelocateError = RelocateError;
|
|
73
|
+
exports.RelocateErrorAlreadyExists = RelocateErrorAlreadyExists;
|
|
74
|
+
exports.RelocateErrorBusy = RelocateErrorBusy;
|
|
75
|
+
exports.RelocateErrorCrossDevice = RelocateErrorCrossDevice;
|
|
76
|
+
exports.RelocateErrorDirectoryNotEmpty = RelocateErrorDirectoryNotEmpty;
|
|
77
|
+
exports.RelocateErrorInvalidArgument = RelocateErrorInvalidArgument;
|
|
78
|
+
exports.RelocateErrorIsDirectory = RelocateErrorIsDirectory;
|
|
79
|
+
exports.RelocateErrorNotDirectory = RelocateErrorNotDirectory;
|
|
80
|
+
exports.RelocateErrorNotFound = RelocateErrorNotFound;
|
|
81
|
+
exports.RelocateErrorPermissionDenied = RelocateErrorPermissionDenied;
|
|
82
|
+
exports.RelocateErrorReadOnly = RelocateErrorReadOnly;
|
|
72
83
|
exports.relocate = relocate;
|
package/dist/file/relocate.d.ts
CHANGED
|
@@ -2,45 +2,45 @@ import * as DPath from "@duplojs/lang/path";
|
|
|
2
2
|
import * as DEither from "@duplojs/lang/either";
|
|
3
3
|
import * as DCommon from "@duplojs/lang/common";
|
|
4
4
|
declare const RelocateErrorNotFound_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-relocate-not-found", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-relocate-not-found", unknown>>, unknown>;
|
|
5
|
-
declare class RelocateErrorNotFound extends RelocateErrorNotFound_base {
|
|
5
|
+
export declare class RelocateErrorNotFound extends RelocateErrorNotFound_base {
|
|
6
6
|
}
|
|
7
7
|
declare const RelocateErrorPermissionDenied_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-relocate-permission-denied", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-relocate-permission-denied", unknown>>, unknown>;
|
|
8
|
-
declare class RelocateErrorPermissionDenied extends RelocateErrorPermissionDenied_base {
|
|
8
|
+
export declare class RelocateErrorPermissionDenied extends RelocateErrorPermissionDenied_base {
|
|
9
9
|
}
|
|
10
10
|
declare const RelocateErrorAlreadyExists_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-relocate-already-exists", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-relocate-already-exists", unknown>>, unknown>;
|
|
11
|
-
declare class RelocateErrorAlreadyExists extends RelocateErrorAlreadyExists_base {
|
|
11
|
+
export declare class RelocateErrorAlreadyExists extends RelocateErrorAlreadyExists_base {
|
|
12
12
|
}
|
|
13
13
|
declare const RelocateErrorIsDirectory_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-relocate-is-directory", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-relocate-is-directory", unknown>>, unknown>;
|
|
14
|
-
declare class RelocateErrorIsDirectory extends RelocateErrorIsDirectory_base {
|
|
14
|
+
export declare class RelocateErrorIsDirectory extends RelocateErrorIsDirectory_base {
|
|
15
15
|
}
|
|
16
16
|
declare const RelocateErrorNotDirectory_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-relocate-not-directory", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-relocate-not-directory", unknown>>, unknown>;
|
|
17
|
-
declare class RelocateErrorNotDirectory extends RelocateErrorNotDirectory_base {
|
|
17
|
+
export declare class RelocateErrorNotDirectory extends RelocateErrorNotDirectory_base {
|
|
18
18
|
}
|
|
19
19
|
declare const RelocateErrorDirectoryNotEmpty_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-relocate-directory-not-empty", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-relocate-directory-not-empty", unknown>>, unknown>;
|
|
20
|
-
declare class RelocateErrorDirectoryNotEmpty extends RelocateErrorDirectoryNotEmpty_base {
|
|
20
|
+
export declare class RelocateErrorDirectoryNotEmpty extends RelocateErrorDirectoryNotEmpty_base {
|
|
21
21
|
}
|
|
22
22
|
declare const RelocateErrorReadOnly_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-relocate-read-only", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-relocate-read-only", unknown>>, unknown>;
|
|
23
|
-
declare class RelocateErrorReadOnly extends RelocateErrorReadOnly_base {
|
|
23
|
+
export declare class RelocateErrorReadOnly extends RelocateErrorReadOnly_base {
|
|
24
24
|
}
|
|
25
25
|
declare const RelocateErrorInvalidArgument_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-relocate-invalid-argument", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-relocate-invalid-argument", unknown>>, unknown>;
|
|
26
|
-
declare class RelocateErrorInvalidArgument extends RelocateErrorInvalidArgument_base {
|
|
26
|
+
export declare class RelocateErrorInvalidArgument extends RelocateErrorInvalidArgument_base {
|
|
27
27
|
}
|
|
28
28
|
declare const RelocateErrorBusy_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-relocate-busy", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-relocate-busy", unknown>>, unknown>;
|
|
29
|
-
declare class RelocateErrorBusy extends RelocateErrorBusy_base {
|
|
29
|
+
export declare class RelocateErrorBusy extends RelocateErrorBusy_base {
|
|
30
30
|
}
|
|
31
31
|
declare const RelocateErrorCrossDevice_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-relocate-cross-device", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-relocate-cross-device", unknown>>, unknown>;
|
|
32
|
-
declare class RelocateErrorCrossDevice extends RelocateErrorCrossDevice_base {
|
|
32
|
+
export declare class RelocateErrorCrossDevice extends RelocateErrorCrossDevice_base {
|
|
33
33
|
}
|
|
34
34
|
declare const RelocateError_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-relocate-error", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-relocate-error", unknown>>, unknown>;
|
|
35
|
-
declare class RelocateError extends RelocateError_base {
|
|
35
|
+
export declare class RelocateError extends RelocateError_base {
|
|
36
36
|
}
|
|
37
37
|
export type RelocateErrors = (RelocateErrorNotFound | RelocateErrorPermissionDenied | RelocateErrorAlreadyExists | RelocateErrorIsDirectory | RelocateErrorNotDirectory | RelocateErrorDirectoryNotEmpty | RelocateErrorReadOnly | RelocateErrorInvalidArgument | RelocateErrorBusy | RelocateErrorCrossDevice | RelocateError);
|
|
38
38
|
export type RelocateResult = (DEither.Right<"file-system-relocate", string & DPath.Path> | DEither.Left<"file-system-relocate-error", RelocateErrors>);
|
|
39
39
|
declare module '../implementor' {
|
|
40
40
|
interface ServerFunction {
|
|
41
|
-
relocate(fromPath:
|
|
41
|
+
relocate(fromPath: DPath.AnyPath, toPath: DPath.AnyPath): Promise<RelocateResult>;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
export declare function relocate(toPath:
|
|
45
|
-
export declare function relocate(fromPath:
|
|
44
|
+
export declare function relocate(toPath: DPath.AnyPath): (fromPath: DPath.AnyPath) => Promise<RelocateResult>;
|
|
45
|
+
export declare function relocate(fromPath: DPath.AnyPath, toPath: DPath.AnyPath): Promise<RelocateResult>;
|
|
46
46
|
export {};
|
package/dist/file/relocate.mjs
CHANGED
|
@@ -65,4 +65,4 @@ function relocate(...args) {
|
|
|
65
65
|
return relocateImplementation(...args);
|
|
66
66
|
}
|
|
67
67
|
//#endregion
|
|
68
|
-
export { relocate };
|
|
68
|
+
export { RelocateError, RelocateErrorAlreadyExists, RelocateErrorBusy, RelocateErrorCrossDevice, RelocateErrorDirectoryNotEmpty, RelocateErrorInvalidArgument, RelocateErrorIsDirectory, RelocateErrorNotDirectory, RelocateErrorNotFound, RelocateErrorPermissionDenied, RelocateErrorReadOnly, relocate };
|
package/dist/file/remove.cjs
CHANGED
|
@@ -48,4 +48,13 @@ const remove = require_implementor.implementFunction("remove", {
|
|
|
48
48
|
DENO: (path, params) => Deno.remove(path, { recursive: params?.recursive }).then(() => _duplojs_lang_either.right("file-system-remove")).catch(handleDenoRemoveError)
|
|
49
49
|
});
|
|
50
50
|
//#endregion
|
|
51
|
+
exports.RemoveError = RemoveError;
|
|
52
|
+
exports.RemoveErrorBusy = RemoveErrorBusy;
|
|
53
|
+
exports.RemoveErrorDirectoryNotEmpty = RemoveErrorDirectoryNotEmpty;
|
|
54
|
+
exports.RemoveErrorInvalidArgument = RemoveErrorInvalidArgument;
|
|
55
|
+
exports.RemoveErrorIsDirectory = RemoveErrorIsDirectory;
|
|
56
|
+
exports.RemoveErrorNotDirectory = RemoveErrorNotDirectory;
|
|
57
|
+
exports.RemoveErrorNotFound = RemoveErrorNotFound;
|
|
58
|
+
exports.RemoveErrorPermissionDenied = RemoveErrorPermissionDenied;
|
|
59
|
+
exports.RemoveErrorReadOnly = RemoveErrorReadOnly;
|
|
51
60
|
exports.remove = remove;
|
package/dist/file/remove.d.ts
CHANGED
|
@@ -5,38 +5,38 @@ interface RemoveDirectoryParams {
|
|
|
5
5
|
recursive?: boolean;
|
|
6
6
|
}
|
|
7
7
|
declare const RemoveErrorNotFound_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-remove-not-found", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-remove-not-found", unknown>>, unknown>;
|
|
8
|
-
declare class RemoveErrorNotFound extends RemoveErrorNotFound_base {
|
|
8
|
+
export declare class RemoveErrorNotFound extends RemoveErrorNotFound_base {
|
|
9
9
|
}
|
|
10
10
|
declare const RemoveErrorPermissionDenied_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-remove-permission-denied", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-remove-permission-denied", unknown>>, unknown>;
|
|
11
|
-
declare class RemoveErrorPermissionDenied extends RemoveErrorPermissionDenied_base {
|
|
11
|
+
export declare class RemoveErrorPermissionDenied extends RemoveErrorPermissionDenied_base {
|
|
12
12
|
}
|
|
13
13
|
declare const RemoveErrorIsDirectory_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-remove-is-directory", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-remove-is-directory", unknown>>, unknown>;
|
|
14
|
-
declare class RemoveErrorIsDirectory extends RemoveErrorIsDirectory_base {
|
|
14
|
+
export declare class RemoveErrorIsDirectory extends RemoveErrorIsDirectory_base {
|
|
15
15
|
}
|
|
16
16
|
declare const RemoveErrorNotDirectory_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-remove-not-directory", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-remove-not-directory", unknown>>, unknown>;
|
|
17
|
-
declare class RemoveErrorNotDirectory extends RemoveErrorNotDirectory_base {
|
|
17
|
+
export declare class RemoveErrorNotDirectory extends RemoveErrorNotDirectory_base {
|
|
18
18
|
}
|
|
19
19
|
declare const RemoveErrorDirectoryNotEmpty_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-remove-directory-not-empty", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-remove-directory-not-empty", unknown>>, unknown>;
|
|
20
|
-
declare class RemoveErrorDirectoryNotEmpty extends RemoveErrorDirectoryNotEmpty_base {
|
|
20
|
+
export declare class RemoveErrorDirectoryNotEmpty extends RemoveErrorDirectoryNotEmpty_base {
|
|
21
21
|
}
|
|
22
22
|
declare const RemoveErrorReadOnly_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-remove-read-only", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-remove-read-only", unknown>>, unknown>;
|
|
23
|
-
declare class RemoveErrorReadOnly extends RemoveErrorReadOnly_base {
|
|
23
|
+
export declare class RemoveErrorReadOnly extends RemoveErrorReadOnly_base {
|
|
24
24
|
}
|
|
25
25
|
declare const RemoveErrorInvalidArgument_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-remove-invalid-argument", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-remove-invalid-argument", unknown>>, unknown>;
|
|
26
|
-
declare class RemoveErrorInvalidArgument extends RemoveErrorInvalidArgument_base {
|
|
26
|
+
export declare class RemoveErrorInvalidArgument extends RemoveErrorInvalidArgument_base {
|
|
27
27
|
}
|
|
28
28
|
declare const RemoveErrorBusy_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-remove-busy", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-remove-busy", unknown>>, unknown>;
|
|
29
|
-
declare class RemoveErrorBusy extends RemoveErrorBusy_base {
|
|
29
|
+
export declare class RemoveErrorBusy extends RemoveErrorBusy_base {
|
|
30
30
|
}
|
|
31
31
|
declare const RemoveError_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-remove-error", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-remove-error", unknown>>, unknown>;
|
|
32
|
-
declare class RemoveError extends RemoveError_base {
|
|
32
|
+
export declare class RemoveError extends RemoveError_base {
|
|
33
33
|
}
|
|
34
34
|
export type RemoveErrors = (RemoveErrorNotFound | RemoveErrorPermissionDenied | RemoveErrorIsDirectory | RemoveErrorNotDirectory | RemoveErrorDirectoryNotEmpty | RemoveErrorReadOnly | RemoveErrorInvalidArgument | RemoveErrorBusy | RemoveError);
|
|
35
35
|
export type RemoveResult = (DEither.Right<"file-system-remove", void> | DEither.Left<"file-system-remove-error", RemoveErrors>);
|
|
36
36
|
declare module '../implementor' {
|
|
37
37
|
interface ServerFunction {
|
|
38
|
-
remove(path:
|
|
38
|
+
remove(path: DPath.AnyPath, params?: RemoveDirectoryParams): Promise<RemoveResult>;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
export declare const remove: (path:
|
|
41
|
+
export declare const remove: (path: DPath.AnyPath, params?: RemoveDirectoryParams) => Promise<RemoveResult>;
|
|
42
42
|
export {};
|
package/dist/file/remove.mjs
CHANGED
|
@@ -45,4 +45,4 @@ const remove = implementFunction("remove", {
|
|
|
45
45
|
DENO: (path, params) => Deno.remove(path, { recursive: params?.recursive }).then(() => DEither.right("file-system-remove")).catch(handleDenoRemoveError)
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
48
|
-
export { remove };
|
|
48
|
+
export { RemoveError, RemoveErrorBusy, RemoveErrorDirectoryNotEmpty, RemoveErrorInvalidArgument, RemoveErrorIsDirectory, RemoveErrorNotDirectory, RemoveErrorNotFound, RemoveErrorPermissionDenied, RemoveErrorReadOnly, remove };
|
package/dist/file/rename.cjs
CHANGED
|
@@ -69,4 +69,15 @@ function rename(...args) {
|
|
|
69
69
|
return renameImplementation(...args);
|
|
70
70
|
}
|
|
71
71
|
//#endregion
|
|
72
|
+
exports.RenameError = RenameError;
|
|
73
|
+
exports.RenameErrorAlreadyExists = RenameErrorAlreadyExists;
|
|
74
|
+
exports.RenameErrorBusy = RenameErrorBusy;
|
|
75
|
+
exports.RenameErrorCrossDevice = RenameErrorCrossDevice;
|
|
76
|
+
exports.RenameErrorDirectoryNotEmpty = RenameErrorDirectoryNotEmpty;
|
|
77
|
+
exports.RenameErrorInvalidArgument = RenameErrorInvalidArgument;
|
|
78
|
+
exports.RenameErrorIsDirectory = RenameErrorIsDirectory;
|
|
79
|
+
exports.RenameErrorNotDirectory = RenameErrorNotDirectory;
|
|
80
|
+
exports.RenameErrorNotFound = RenameErrorNotFound;
|
|
81
|
+
exports.RenameErrorPermissionDenied = RenameErrorPermissionDenied;
|
|
82
|
+
exports.RenameErrorReadOnly = RenameErrorReadOnly;
|
|
72
83
|
exports.rename = rename;
|
package/dist/file/rename.d.ts
CHANGED
|
@@ -2,45 +2,45 @@ import * as DPath from "@duplojs/lang/path";
|
|
|
2
2
|
import * as DEither from "@duplojs/lang/either";
|
|
3
3
|
import * as DCommon from "@duplojs/lang/common";
|
|
4
4
|
declare const RenameErrorNotFound_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-rename-not-found", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-rename-not-found", unknown>>, unknown>;
|
|
5
|
-
declare class RenameErrorNotFound extends RenameErrorNotFound_base {
|
|
5
|
+
export declare class RenameErrorNotFound extends RenameErrorNotFound_base {
|
|
6
6
|
}
|
|
7
7
|
declare const RenameErrorPermissionDenied_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-rename-permission-denied", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-rename-permission-denied", unknown>>, unknown>;
|
|
8
|
-
declare class RenameErrorPermissionDenied extends RenameErrorPermissionDenied_base {
|
|
8
|
+
export declare class RenameErrorPermissionDenied extends RenameErrorPermissionDenied_base {
|
|
9
9
|
}
|
|
10
10
|
declare const RenameErrorAlreadyExists_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-rename-already-exists", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-rename-already-exists", unknown>>, unknown>;
|
|
11
|
-
declare class RenameErrorAlreadyExists extends RenameErrorAlreadyExists_base {
|
|
11
|
+
export declare class RenameErrorAlreadyExists extends RenameErrorAlreadyExists_base {
|
|
12
12
|
}
|
|
13
13
|
declare const RenameErrorIsDirectory_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-rename-is-directory", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-rename-is-directory", unknown>>, unknown>;
|
|
14
|
-
declare class RenameErrorIsDirectory extends RenameErrorIsDirectory_base {
|
|
14
|
+
export declare class RenameErrorIsDirectory extends RenameErrorIsDirectory_base {
|
|
15
15
|
}
|
|
16
16
|
declare const RenameErrorNotDirectory_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-rename-not-directory", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-rename-not-directory", unknown>>, unknown>;
|
|
17
|
-
declare class RenameErrorNotDirectory extends RenameErrorNotDirectory_base {
|
|
17
|
+
export declare class RenameErrorNotDirectory extends RenameErrorNotDirectory_base {
|
|
18
18
|
}
|
|
19
19
|
declare const RenameErrorDirectoryNotEmpty_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-rename-directory-not-empty", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-rename-directory-not-empty", unknown>>, unknown>;
|
|
20
|
-
declare class RenameErrorDirectoryNotEmpty extends RenameErrorDirectoryNotEmpty_base {
|
|
20
|
+
export declare class RenameErrorDirectoryNotEmpty extends RenameErrorDirectoryNotEmpty_base {
|
|
21
21
|
}
|
|
22
22
|
declare const RenameErrorReadOnly_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-rename-read-only", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-rename-read-only", unknown>>, unknown>;
|
|
23
|
-
declare class RenameErrorReadOnly extends RenameErrorReadOnly_base {
|
|
23
|
+
export declare class RenameErrorReadOnly extends RenameErrorReadOnly_base {
|
|
24
24
|
}
|
|
25
25
|
declare const RenameErrorInvalidArgument_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-rename-invalid-argument", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-rename-invalid-argument", unknown>>, unknown>;
|
|
26
|
-
declare class RenameErrorInvalidArgument extends RenameErrorInvalidArgument_base {
|
|
26
|
+
export declare class RenameErrorInvalidArgument extends RenameErrorInvalidArgument_base {
|
|
27
27
|
}
|
|
28
28
|
declare const RenameErrorBusy_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-rename-busy", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-rename-busy", unknown>>, unknown>;
|
|
29
|
-
declare class RenameErrorBusy extends RenameErrorBusy_base {
|
|
29
|
+
export declare class RenameErrorBusy extends RenameErrorBusy_base {
|
|
30
30
|
}
|
|
31
31
|
declare const RenameErrorCrossDevice_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-rename-cross-device", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-rename-cross-device", unknown>>, unknown>;
|
|
32
|
-
declare class RenameErrorCrossDevice extends RenameErrorCrossDevice_base {
|
|
32
|
+
export declare class RenameErrorCrossDevice extends RenameErrorCrossDevice_base {
|
|
33
33
|
}
|
|
34
34
|
declare const RenameError_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-rename-error", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-rename-error", unknown>>, unknown>;
|
|
35
|
-
declare class RenameError extends RenameError_base {
|
|
35
|
+
export declare class RenameError extends RenameError_base {
|
|
36
36
|
}
|
|
37
37
|
export type RenameErrors = (RenameErrorNotFound | RenameErrorPermissionDenied | RenameErrorAlreadyExists | RenameErrorIsDirectory | RenameErrorNotDirectory | RenameErrorDirectoryNotEmpty | RenameErrorReadOnly | RenameErrorInvalidArgument | RenameErrorBusy | RenameErrorCrossDevice | RenameError);
|
|
38
38
|
export type RenameResult = (DEither.Right<"file-system-rename", string & DPath.Path> | DEither.Left<"file-system-rename-error", RenameErrors>);
|
|
39
39
|
declare module '../implementor' {
|
|
40
40
|
interface ServerFunction {
|
|
41
|
-
rename(path:
|
|
41
|
+
rename(path: DPath.AnyPath, newName: string & DPath.Segment): Promise<RenameResult>;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
export declare function rename(newName: string & DPath.Segment): (path:
|
|
45
|
-
export declare function rename(path:
|
|
44
|
+
export declare function rename(newName: string & DPath.Segment): (path: DPath.AnyPath) => Promise<RenameResult>;
|
|
45
|
+
export declare function rename(path: DPath.AnyPath, newName: string & DPath.Segment): Promise<RenameResult>;
|
|
46
46
|
export {};
|
package/dist/file/rename.mjs
CHANGED
|
@@ -65,4 +65,4 @@ function rename(...args) {
|
|
|
65
65
|
return renameImplementation(...args);
|
|
66
66
|
}
|
|
67
67
|
//#endregion
|
|
68
|
-
export { rename };
|
|
68
|
+
export { RenameError, RenameErrorAlreadyExists, RenameErrorBusy, RenameErrorCrossDevice, RenameErrorDirectoryNotEmpty, RenameErrorInvalidArgument, RenameErrorIsDirectory, RenameErrorNotDirectory, RenameErrorNotFound, RenameErrorPermissionDenied, RenameErrorReadOnly, rename };
|
package/dist/file/setMode.cjs
CHANGED
|
@@ -56,4 +56,10 @@ function setMode(...args) {
|
|
|
56
56
|
return setModeImplementation(...args);
|
|
57
57
|
}
|
|
58
58
|
//#endregion
|
|
59
|
+
exports.SetModeError = SetModeError;
|
|
60
|
+
exports.SetModeErrorInvalidArgument = SetModeErrorInvalidArgument;
|
|
61
|
+
exports.SetModeErrorNotDirectory = SetModeErrorNotDirectory;
|
|
62
|
+
exports.SetModeErrorNotFound = SetModeErrorNotFound;
|
|
63
|
+
exports.SetModeErrorPermissionDenied = SetModeErrorPermissionDenied;
|
|
64
|
+
exports.SetModeErrorReadOnly = SetModeErrorReadOnly;
|
|
59
65
|
exports.setMode = setMode;
|
package/dist/file/setMode.d.ts
CHANGED
|
@@ -16,30 +16,30 @@ interface ModeObject {
|
|
|
16
16
|
}
|
|
17
17
|
type SetMode = ModeObject | number;
|
|
18
18
|
declare const SetModeErrorNotFound_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-mode-not-found", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-mode-not-found", unknown>>, unknown>;
|
|
19
|
-
declare class SetModeErrorNotFound extends SetModeErrorNotFound_base {
|
|
19
|
+
export declare class SetModeErrorNotFound extends SetModeErrorNotFound_base {
|
|
20
20
|
}
|
|
21
21
|
declare const SetModeErrorPermissionDenied_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-mode-permission-denied", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-mode-permission-denied", unknown>>, unknown>;
|
|
22
|
-
declare class SetModeErrorPermissionDenied extends SetModeErrorPermissionDenied_base {
|
|
22
|
+
export declare class SetModeErrorPermissionDenied extends SetModeErrorPermissionDenied_base {
|
|
23
23
|
}
|
|
24
24
|
declare const SetModeErrorNotDirectory_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-mode-not-directory", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-mode-not-directory", unknown>>, unknown>;
|
|
25
|
-
declare class SetModeErrorNotDirectory extends SetModeErrorNotDirectory_base {
|
|
25
|
+
export declare class SetModeErrorNotDirectory extends SetModeErrorNotDirectory_base {
|
|
26
26
|
}
|
|
27
27
|
declare const SetModeErrorReadOnly_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-mode-read-only", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-mode-read-only", unknown>>, unknown>;
|
|
28
|
-
declare class SetModeErrorReadOnly extends SetModeErrorReadOnly_base {
|
|
28
|
+
export declare class SetModeErrorReadOnly extends SetModeErrorReadOnly_base {
|
|
29
29
|
}
|
|
30
30
|
declare const SetModeErrorInvalidArgument_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-mode-invalid-argument", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-mode-invalid-argument", unknown>>, unknown>;
|
|
31
|
-
declare class SetModeErrorInvalidArgument extends SetModeErrorInvalidArgument_base {
|
|
31
|
+
export declare class SetModeErrorInvalidArgument extends SetModeErrorInvalidArgument_base {
|
|
32
32
|
}
|
|
33
33
|
declare const SetModeError_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-mode-error", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-mode-error", unknown>>, unknown>;
|
|
34
|
-
declare class SetModeError extends SetModeError_base {
|
|
34
|
+
export declare class SetModeError extends SetModeError_base {
|
|
35
35
|
}
|
|
36
36
|
export type SetModeErrors = (SetModeErrorNotFound | SetModeErrorPermissionDenied | SetModeErrorNotDirectory | SetModeErrorReadOnly | SetModeErrorInvalidArgument | SetModeError);
|
|
37
37
|
export type SetModeResult = (DEither.Right<"file-system-set-mode", void> | DEither.Left<"file-system-set-mode-error", SetModeErrors>);
|
|
38
38
|
declare module '../implementor' {
|
|
39
39
|
interface ServerFunction {
|
|
40
|
-
setMode(path:
|
|
40
|
+
setMode(path: DPath.AnyPath, mode: SetMode): Promise<SetModeResult>;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
export declare function setMode(mode: SetMode): (path:
|
|
44
|
-
export declare function setMode(path:
|
|
43
|
+
export declare function setMode(mode: SetMode): (path: DPath.AnyPath) => Promise<SetModeResult>;
|
|
44
|
+
export declare function setMode(path: DPath.AnyPath, mode: SetMode): Promise<SetModeResult>;
|
|
45
45
|
export {};
|
package/dist/file/setMode.mjs
CHANGED
|
@@ -53,4 +53,4 @@ function setMode(...args) {
|
|
|
53
53
|
return setModeImplementation(...args);
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
56
|
-
export { setMode };
|
|
56
|
+
export { SetModeError, SetModeErrorInvalidArgument, SetModeErrorNotDirectory, SetModeErrorNotFound, SetModeErrorPermissionDenied, SetModeErrorReadOnly, setMode };
|
package/dist/file/setOwner.cjs
CHANGED
|
@@ -44,4 +44,10 @@ function setOwner(...args) {
|
|
|
44
44
|
return setOwnerImplementation(...args);
|
|
45
45
|
}
|
|
46
46
|
//#endregion
|
|
47
|
+
exports.SetOwnerError = SetOwnerError;
|
|
48
|
+
exports.SetOwnerErrorInvalidArgument = SetOwnerErrorInvalidArgument;
|
|
49
|
+
exports.SetOwnerErrorNotDirectory = SetOwnerErrorNotDirectory;
|
|
50
|
+
exports.SetOwnerErrorNotFound = SetOwnerErrorNotFound;
|
|
51
|
+
exports.SetOwnerErrorPermissionDenied = SetOwnerErrorPermissionDenied;
|
|
52
|
+
exports.SetOwnerErrorReadOnly = SetOwnerErrorReadOnly;
|
|
47
53
|
exports.setOwner = setOwner;
|
package/dist/file/setOwner.d.ts
CHANGED
|
@@ -6,30 +6,30 @@ export interface SetOwnerParams {
|
|
|
6
6
|
groupId: number;
|
|
7
7
|
}
|
|
8
8
|
declare const SetOwnerErrorNotFound_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-owner-not-found", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-owner-not-found", unknown>>, unknown>;
|
|
9
|
-
declare class SetOwnerErrorNotFound extends SetOwnerErrorNotFound_base {
|
|
9
|
+
export declare class SetOwnerErrorNotFound extends SetOwnerErrorNotFound_base {
|
|
10
10
|
}
|
|
11
11
|
declare const SetOwnerErrorPermissionDenied_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-owner-permission-denied", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-owner-permission-denied", unknown>>, unknown>;
|
|
12
|
-
declare class SetOwnerErrorPermissionDenied extends SetOwnerErrorPermissionDenied_base {
|
|
12
|
+
export declare class SetOwnerErrorPermissionDenied extends SetOwnerErrorPermissionDenied_base {
|
|
13
13
|
}
|
|
14
14
|
declare const SetOwnerErrorNotDirectory_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-owner-not-directory", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-owner-not-directory", unknown>>, unknown>;
|
|
15
|
-
declare class SetOwnerErrorNotDirectory extends SetOwnerErrorNotDirectory_base {
|
|
15
|
+
export declare class SetOwnerErrorNotDirectory extends SetOwnerErrorNotDirectory_base {
|
|
16
16
|
}
|
|
17
17
|
declare const SetOwnerErrorReadOnly_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-owner-read-only", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-owner-read-only", unknown>>, unknown>;
|
|
18
|
-
declare class SetOwnerErrorReadOnly extends SetOwnerErrorReadOnly_base {
|
|
18
|
+
export declare class SetOwnerErrorReadOnly extends SetOwnerErrorReadOnly_base {
|
|
19
19
|
}
|
|
20
20
|
declare const SetOwnerErrorInvalidArgument_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-owner-invalid-argument", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-owner-invalid-argument", unknown>>, unknown>;
|
|
21
|
-
declare class SetOwnerErrorInvalidArgument extends SetOwnerErrorInvalidArgument_base {
|
|
21
|
+
export declare class SetOwnerErrorInvalidArgument extends SetOwnerErrorInvalidArgument_base {
|
|
22
22
|
}
|
|
23
23
|
declare const SetOwnerError_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-owner-error", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-owner-error", unknown>>, unknown>;
|
|
24
|
-
declare class SetOwnerError extends SetOwnerError_base {
|
|
24
|
+
export declare class SetOwnerError extends SetOwnerError_base {
|
|
25
25
|
}
|
|
26
26
|
export type SetOwnerErrors = (SetOwnerErrorNotFound | SetOwnerErrorPermissionDenied | SetOwnerErrorNotDirectory | SetOwnerErrorReadOnly | SetOwnerErrorInvalidArgument | SetOwnerError);
|
|
27
27
|
export type SetOwnerResult = (DEither.Right<"file-system-set-owner", void> | DEither.Left<"file-system-set-owner-error", SetOwnerErrors>);
|
|
28
28
|
declare module '../implementor' {
|
|
29
29
|
interface ServerFunction {
|
|
30
|
-
setOwner(path:
|
|
30
|
+
setOwner(path: DPath.AnyPath, params: SetOwnerParams): Promise<SetOwnerResult>;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
export declare function setOwner(params: SetOwnerParams): (path:
|
|
34
|
-
export declare function setOwner(path:
|
|
33
|
+
export declare function setOwner(params: SetOwnerParams): (path: DPath.AnyPath) => Promise<SetOwnerResult>;
|
|
34
|
+
export declare function setOwner(path: DPath.AnyPath, params: SetOwnerParams): Promise<SetOwnerResult>;
|
|
35
35
|
export {};
|
package/dist/file/setOwner.mjs
CHANGED
|
@@ -41,4 +41,4 @@ function setOwner(...args) {
|
|
|
41
41
|
return setOwnerImplementation(...args);
|
|
42
42
|
}
|
|
43
43
|
//#endregion
|
|
44
|
-
export { setOwner };
|
|
44
|
+
export { SetOwnerError, SetOwnerErrorInvalidArgument, SetOwnerErrorNotDirectory, SetOwnerErrorNotFound, SetOwnerErrorPermissionDenied, SetOwnerErrorReadOnly, setOwner };
|
package/dist/file/setTime.cjs
CHANGED
|
@@ -46,4 +46,10 @@ function setTime(...args) {
|
|
|
46
46
|
return setTimeImplementation(...args);
|
|
47
47
|
}
|
|
48
48
|
//#endregion
|
|
49
|
+
exports.SetTimeError = SetTimeError;
|
|
50
|
+
exports.SetTimeErrorInvalidArgument = SetTimeErrorInvalidArgument;
|
|
51
|
+
exports.SetTimeErrorNotDirectory = SetTimeErrorNotDirectory;
|
|
52
|
+
exports.SetTimeErrorNotFound = SetTimeErrorNotFound;
|
|
53
|
+
exports.SetTimeErrorPermissionDenied = SetTimeErrorPermissionDenied;
|
|
54
|
+
exports.SetTimeErrorReadOnly = SetTimeErrorReadOnly;
|
|
49
55
|
exports.setTime = setTime;
|
package/dist/file/setTime.d.ts
CHANGED
|
@@ -7,30 +7,30 @@ interface SetTimeParams {
|
|
|
7
7
|
modifiedTime: DChrono.TheDate;
|
|
8
8
|
}
|
|
9
9
|
declare const SetTimeErrorNotFound_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-time-not-found", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-time-not-found", unknown>>, unknown>;
|
|
10
|
-
declare class SetTimeErrorNotFound extends SetTimeErrorNotFound_base {
|
|
10
|
+
export declare class SetTimeErrorNotFound extends SetTimeErrorNotFound_base {
|
|
11
11
|
}
|
|
12
12
|
declare const SetTimeErrorPermissionDenied_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-time-permission-denied", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-time-permission-denied", unknown>>, unknown>;
|
|
13
|
-
declare class SetTimeErrorPermissionDenied extends SetTimeErrorPermissionDenied_base {
|
|
13
|
+
export declare class SetTimeErrorPermissionDenied extends SetTimeErrorPermissionDenied_base {
|
|
14
14
|
}
|
|
15
15
|
declare const SetTimeErrorNotDirectory_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-time-not-directory", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-time-not-directory", unknown>>, unknown>;
|
|
16
|
-
declare class SetTimeErrorNotDirectory extends SetTimeErrorNotDirectory_base {
|
|
16
|
+
export declare class SetTimeErrorNotDirectory extends SetTimeErrorNotDirectory_base {
|
|
17
17
|
}
|
|
18
18
|
declare const SetTimeErrorReadOnly_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-time-read-only", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-time-read-only", unknown>>, unknown>;
|
|
19
|
-
declare class SetTimeErrorReadOnly extends SetTimeErrorReadOnly_base {
|
|
19
|
+
export declare class SetTimeErrorReadOnly extends SetTimeErrorReadOnly_base {
|
|
20
20
|
}
|
|
21
21
|
declare const SetTimeErrorInvalidArgument_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-time-invalid-argument", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-time-invalid-argument", unknown>>, unknown>;
|
|
22
|
-
declare class SetTimeErrorInvalidArgument extends SetTimeErrorInvalidArgument_base {
|
|
22
|
+
export declare class SetTimeErrorInvalidArgument extends SetTimeErrorInvalidArgument_base {
|
|
23
23
|
}
|
|
24
24
|
declare const SetTimeError_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-set-time-error", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-set-time-error", unknown>>, unknown>;
|
|
25
|
-
declare class SetTimeError extends SetTimeError_base {
|
|
25
|
+
export declare class SetTimeError extends SetTimeError_base {
|
|
26
26
|
}
|
|
27
27
|
export type SetTimeErrors = (SetTimeErrorNotFound | SetTimeErrorPermissionDenied | SetTimeErrorNotDirectory | SetTimeErrorReadOnly | SetTimeErrorInvalidArgument | SetTimeError);
|
|
28
28
|
export type SetTimeResult = (DEither.Right<"file-system-set-time", void> | DEither.Left<"file-system-set-time-error", SetTimeErrors>);
|
|
29
29
|
declare module '../implementor' {
|
|
30
30
|
interface ServerFunction {
|
|
31
|
-
setTime(path:
|
|
31
|
+
setTime(path: DPath.AnyPath, params: SetTimeParams): Promise<SetTimeResult>;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
export declare function setTime(params: SetTimeParams): (path:
|
|
35
|
-
export declare function setTime(path:
|
|
34
|
+
export declare function setTime(params: SetTimeParams): (path: DPath.AnyPath) => Promise<SetTimeResult>;
|
|
35
|
+
export declare function setTime(path: DPath.AnyPath, params: SetTimeParams): Promise<SetTimeResult>;
|
|
36
36
|
export {};
|
package/dist/file/setTime.mjs
CHANGED
|
@@ -42,4 +42,4 @@ function setTime(...args) {
|
|
|
42
42
|
return setTimeImplementation(...args);
|
|
43
43
|
}
|
|
44
44
|
//#endregion
|
|
45
|
-
export { setTime };
|
|
45
|
+
export { SetTimeError, SetTimeErrorInvalidArgument, SetTimeErrorNotDirectory, SetTimeErrorNotFound, SetTimeErrorPermissionDenied, SetTimeErrorReadOnly, setTime };
|
package/dist/file/stat.cjs
CHANGED
|
@@ -90,4 +90,10 @@ const stat = require_implementor.implementFunction("stat", {
|
|
|
90
90
|
BUN: (path) => Bun.file(path).stat().then(_duplojs_lang_common.innerPipe(createStatInfoWithFsSource, (value) => _duplojs_lang_either.right("file-system-stat", value))).catch(handleNodeStatError)
|
|
91
91
|
});
|
|
92
92
|
//#endregion
|
|
93
|
+
exports.StatError = StatError;
|
|
94
|
+
exports.StatErrorBusy = StatErrorBusy;
|
|
95
|
+
exports.StatErrorNotDirectory = StatErrorNotDirectory;
|
|
96
|
+
exports.StatErrorNotFound = StatErrorNotFound;
|
|
97
|
+
exports.StatErrorPermissionDenied = StatErrorPermissionDenied;
|
|
98
|
+
exports.StatErrorTooManyOpenFiles = StatErrorTooManyOpenFiles;
|
|
93
99
|
exports.stat = stat;
|
package/dist/file/stat.d.ts
CHANGED
|
@@ -34,29 +34,29 @@ export interface StatInfo {
|
|
|
34
34
|
isSocket: boolean | null;
|
|
35
35
|
}
|
|
36
36
|
declare const StatErrorNotFound_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-stat-not-found", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-stat-not-found", unknown>>, unknown>;
|
|
37
|
-
declare class StatErrorNotFound extends StatErrorNotFound_base {
|
|
37
|
+
export declare class StatErrorNotFound extends StatErrorNotFound_base {
|
|
38
38
|
}
|
|
39
39
|
declare const StatErrorPermissionDenied_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-stat-permission-denied", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-stat-permission-denied", unknown>>, unknown>;
|
|
40
|
-
declare class StatErrorPermissionDenied extends StatErrorPermissionDenied_base {
|
|
40
|
+
export declare class StatErrorPermissionDenied extends StatErrorPermissionDenied_base {
|
|
41
41
|
}
|
|
42
42
|
declare const StatErrorNotDirectory_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-stat-not-directory", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-stat-not-directory", unknown>>, unknown>;
|
|
43
|
-
declare class StatErrorNotDirectory extends StatErrorNotDirectory_base {
|
|
43
|
+
export declare class StatErrorNotDirectory extends StatErrorNotDirectory_base {
|
|
44
44
|
}
|
|
45
45
|
declare const StatErrorTooManyOpenFiles_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-stat-too-many-open-files", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-stat-too-many-open-files", unknown>>, unknown>;
|
|
46
|
-
declare class StatErrorTooManyOpenFiles extends StatErrorTooManyOpenFiles_base {
|
|
46
|
+
export declare class StatErrorTooManyOpenFiles extends StatErrorTooManyOpenFiles_base {
|
|
47
47
|
}
|
|
48
48
|
declare const StatErrorBusy_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-stat-busy", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-stat-busy", unknown>>, unknown>;
|
|
49
|
-
declare class StatErrorBusy extends StatErrorBusy_base {
|
|
49
|
+
export declare class StatErrorBusy extends StatErrorBusy_base {
|
|
50
50
|
}
|
|
51
51
|
declare const StatError_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-stat-error", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-stat-error", unknown>>, unknown>;
|
|
52
|
-
declare class StatError extends StatError_base {
|
|
52
|
+
export declare class StatError extends StatError_base {
|
|
53
53
|
}
|
|
54
54
|
export type StatErrors = (StatErrorNotFound | StatErrorPermissionDenied | StatErrorNotDirectory | StatErrorTooManyOpenFiles | StatErrorBusy | StatError);
|
|
55
55
|
export type StatResult = (DEither.Right<"file-system-stat", StatInfo> | DEither.Left<"file-system-stat-error", StatErrors>);
|
|
56
56
|
declare module '../implementor' {
|
|
57
57
|
interface ServerFunction {
|
|
58
|
-
stat(path:
|
|
58
|
+
stat(path: DPath.AnyPath): Promise<StatResult>;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
export declare const stat: (path:
|
|
61
|
+
export declare const stat: (path: DPath.AnyPath) => Promise<StatResult>;
|
|
62
62
|
export {};
|
package/dist/file/stat.mjs
CHANGED
|
@@ -86,4 +86,4 @@ const stat = implementFunction("stat", {
|
|
|
86
86
|
BUN: (path) => Bun.file(path).stat().then(DCommon.innerPipe(createStatInfoWithFsSource, (value) => DEither.right("file-system-stat", value))).catch(handleNodeStatError)
|
|
87
87
|
});
|
|
88
88
|
//#endregion
|
|
89
|
-
export { stat };
|
|
89
|
+
export { StatError, StatErrorBusy, StatErrorNotDirectory, StatErrorNotFound, StatErrorPermissionDenied, StatErrorTooManyOpenFiles, stat };
|
package/dist/file/symlink.cjs
CHANGED
|
@@ -52,4 +52,13 @@ function symlink(...args) {
|
|
|
52
52
|
return symlinkImplementation(...args);
|
|
53
53
|
}
|
|
54
54
|
//#endregion
|
|
55
|
+
exports.SymlinkError = SymlinkError;
|
|
56
|
+
exports.SymlinkErrorAlreadyExists = SymlinkErrorAlreadyExists;
|
|
57
|
+
exports.SymlinkErrorBusy = SymlinkErrorBusy;
|
|
58
|
+
exports.SymlinkErrorInvalidArgument = SymlinkErrorInvalidArgument;
|
|
59
|
+
exports.SymlinkErrorNotDirectory = SymlinkErrorNotDirectory;
|
|
60
|
+
exports.SymlinkErrorNotFound = SymlinkErrorNotFound;
|
|
61
|
+
exports.SymlinkErrorPermissionDenied = SymlinkErrorPermissionDenied;
|
|
62
|
+
exports.SymlinkErrorReadOnly = SymlinkErrorReadOnly;
|
|
63
|
+
exports.SymlinkErrorTooManyOpenFiles = SymlinkErrorTooManyOpenFiles;
|
|
55
64
|
exports.symlink = symlink;
|
package/dist/file/symlink.d.ts
CHANGED
|
@@ -10,39 +10,39 @@ export interface SymlinkParams {
|
|
|
10
10
|
type: "file" | "dir" | "junction";
|
|
11
11
|
}
|
|
12
12
|
declare const SymlinkErrorNotFound_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-symlink-not-found", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-symlink-not-found", unknown>>, unknown>;
|
|
13
|
-
declare class SymlinkErrorNotFound extends SymlinkErrorNotFound_base {
|
|
13
|
+
export declare class SymlinkErrorNotFound extends SymlinkErrorNotFound_base {
|
|
14
14
|
}
|
|
15
15
|
declare const SymlinkErrorPermissionDenied_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-symlink-permission-denied", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-symlink-permission-denied", unknown>>, unknown>;
|
|
16
|
-
declare class SymlinkErrorPermissionDenied extends SymlinkErrorPermissionDenied_base {
|
|
16
|
+
export declare class SymlinkErrorPermissionDenied extends SymlinkErrorPermissionDenied_base {
|
|
17
17
|
}
|
|
18
18
|
declare const SymlinkErrorAlreadyExists_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-symlink-already-exists", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-symlink-already-exists", unknown>>, unknown>;
|
|
19
|
-
declare class SymlinkErrorAlreadyExists extends SymlinkErrorAlreadyExists_base {
|
|
19
|
+
export declare class SymlinkErrorAlreadyExists extends SymlinkErrorAlreadyExists_base {
|
|
20
20
|
}
|
|
21
21
|
declare const SymlinkErrorNotDirectory_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-symlink-not-directory", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-symlink-not-directory", unknown>>, unknown>;
|
|
22
|
-
declare class SymlinkErrorNotDirectory extends SymlinkErrorNotDirectory_base {
|
|
22
|
+
export declare class SymlinkErrorNotDirectory extends SymlinkErrorNotDirectory_base {
|
|
23
23
|
}
|
|
24
24
|
declare const SymlinkErrorReadOnly_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-symlink-read-only", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-symlink-read-only", unknown>>, unknown>;
|
|
25
|
-
declare class SymlinkErrorReadOnly extends SymlinkErrorReadOnly_base {
|
|
25
|
+
export declare class SymlinkErrorReadOnly extends SymlinkErrorReadOnly_base {
|
|
26
26
|
}
|
|
27
27
|
declare const SymlinkErrorInvalidArgument_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-symlink-invalid-argument", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-symlink-invalid-argument", unknown>>, unknown>;
|
|
28
|
-
declare class SymlinkErrorInvalidArgument extends SymlinkErrorInvalidArgument_base {
|
|
28
|
+
export declare class SymlinkErrorInvalidArgument extends SymlinkErrorInvalidArgument_base {
|
|
29
29
|
}
|
|
30
30
|
declare const SymlinkErrorTooManyOpenFiles_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-symlink-too-many-open-files", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-symlink-too-many-open-files", unknown>>, unknown>;
|
|
31
|
-
declare class SymlinkErrorTooManyOpenFiles extends SymlinkErrorTooManyOpenFiles_base {
|
|
31
|
+
export declare class SymlinkErrorTooManyOpenFiles extends SymlinkErrorTooManyOpenFiles_base {
|
|
32
32
|
}
|
|
33
33
|
declare const SymlinkErrorBusy_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-symlink-busy", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-symlink-busy", unknown>>, unknown>;
|
|
34
|
-
declare class SymlinkErrorBusy extends SymlinkErrorBusy_base {
|
|
34
|
+
export declare class SymlinkErrorBusy extends SymlinkErrorBusy_base {
|
|
35
35
|
}
|
|
36
36
|
declare const SymlinkError_base: abstract new (error: Error) => DCommon.DuploJSError<"file-system-symlink-error", Error> & import('@duplojs/lang/kind').Kind<import('@duplojs/lang/kind').Handler<import('@duplojs/lang/kind').Definition<"@DuplojsLangCommon/duplojs-error-file-system-symlink-error", unknown>>, unknown>;
|
|
37
|
-
declare class SymlinkError extends SymlinkError_base {
|
|
37
|
+
export declare class SymlinkError extends SymlinkError_base {
|
|
38
38
|
}
|
|
39
39
|
export type SymlinkErrors = (SymlinkErrorNotFound | SymlinkErrorPermissionDenied | SymlinkErrorAlreadyExists | SymlinkErrorNotDirectory | SymlinkErrorReadOnly | SymlinkErrorInvalidArgument | SymlinkErrorTooManyOpenFiles | SymlinkErrorBusy | SymlinkError);
|
|
40
40
|
export type SymlinkResult = (DEither.Right<"file-system-symlink", void> | DEither.Left<"file-system-symlink-error", SymlinkErrors>);
|
|
41
41
|
declare module '../implementor' {
|
|
42
42
|
interface ServerFunction {
|
|
43
|
-
symlink(oldPath:
|
|
43
|
+
symlink(oldPath: DPath.AnyPath, newPath: DPath.AnyPath, params?: SymlinkParams): Promise<SymlinkResult>;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
export declare function symlink(newPath:
|
|
47
|
-
export declare function symlink(oldPath:
|
|
46
|
+
export declare function symlink(newPath: DPath.AnyPath): (oldPath: DPath.AnyPath) => Promise<SymlinkResult>;
|
|
47
|
+
export declare function symlink(oldPath: DPath.AnyPath, newPath: DPath.AnyPath, params?: SymlinkParams): Promise<SymlinkResult>;
|
|
48
48
|
export {};
|
package/dist/file/symlink.mjs
CHANGED
|
@@ -49,4 +49,4 @@ function symlink(...args) {
|
|
|
49
49
|
return symlinkImplementation(...args);
|
|
50
50
|
}
|
|
51
51
|
//#endregion
|
|
52
|
-
export { symlink };
|
|
52
|
+
export { SymlinkError, SymlinkErrorAlreadyExists, SymlinkErrorBusy, SymlinkErrorInvalidArgument, SymlinkErrorNotDirectory, SymlinkErrorNotFound, SymlinkErrorPermissionDenied, SymlinkErrorReadOnly, SymlinkErrorTooManyOpenFiles, symlink };
|