@archildata/just-bash 0.1.13 → 0.8.1

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/README.md CHANGED
@@ -29,7 +29,7 @@ const client = await ArchilClient.connect({
29
29
  });
30
30
 
31
31
  // Create filesystem adapter
32
- const fs = new ArchilFs(client);
32
+ const fs = await ArchilFs.create(client);
33
33
 
34
34
  // Use with just-bash
35
35
  const bash = new Bash({ fs });
@@ -74,7 +74,7 @@ await client.checkout(inodeId, { force: true });
74
74
  Specify a Unix user context for permission checks:
75
75
 
76
76
  ```typescript
77
- const fs = new ArchilFs(client, {
77
+ const fs = await ArchilFs.create(client, {
78
78
  user: { uid: 1000, gid: 1000 }
79
79
  });
80
80
  ```
@@ -108,7 +108,10 @@ Shell commands:
108
108
  ### `ArchilFs`
109
109
 
110
110
  ```typescript
111
- new ArchilFs(client: ArchilClient, options?: { user?: UnixUser })
111
+ const fs = await ArchilFs.create(client: ArchilClient, options?: {
112
+ user?: UnixUser;
113
+ subdirectory?: string;
114
+ })
112
115
  ```
113
116
 
114
117
  #### Read Operations