@environment-safe/file 0.0.1 → 0.1.0

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.
@@ -0,0 +1,27 @@
1
+ export { Path };
2
+ export function initialized(path: any, options: any): Promise<void>;
3
+ export function read(path: any, options: any): Promise<any>;
4
+ export function list(path: any, options: any): Promise<any>;
5
+ export function write(path: any, buffer: any, options: any): Promise<any>;
6
+ export function create(path: any): Promise<any>;
7
+ export function exists(path: any): Promise<any>;
8
+ export function remove(path: any): Promise<any>;
9
+ export class File {
10
+ static exists(path: any, directory: any): Promise<any>;
11
+ static list(path: any, options: any): Promise<any>;
12
+ constructor(path: any, options?: {});
13
+ options: {};
14
+ directory: any;
15
+ path: any;
16
+ buffer: any;
17
+ save(): Promise<this>;
18
+ load(): Promise<this>;
19
+ body(value: any): any;
20
+ info(): Promise<void>;
21
+ delete(): Promise<this>;
22
+ }
23
+ /**
24
+ * A JSON object
25
+ */
26
+ export type JSON = object;
27
+ import { Path } from './path.mjs';