@statewalker/webrun-files-composite 0.7.0 → 0.7.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -138,8 +138,8 @@ Adds an access guard. Before each matching operation, `check(path)` is called. I
138
138
  | `write(path, content)` | Write content to a file |
139
139
  | `mkdir(path)` | Create a directory |
140
140
  | `list(path, options?)` | List directory entries (supports `{ recursive: true }`) |
141
- | `stats(path)` | Get file/directory stats, returns `undefined` if not found |
142
- | `exists(path)` | Check if a path exists |
141
+ | `stats(path)` | Get file/directory stats; mount points return `{ kind: "directory" }` |
142
+ | `exists(path)` | Check if a path exists; returns `true` for mount points |
143
143
  | `remove(path)` | Remove a file or directory (throws on mount points) |
144
144
  | `move(source, target)` | Move a file or directory (cross-mount supported) |
145
145
  | `copy(source, target)` | Copy a file or directory (cross-mount supported) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statewalker/webrun-files-composite",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Composite FilesApi with mount points and access guards",