Skip to content

Commit 2a8f035

Browse files
committed
Accept file paths in the VFS as arguments
Signed-off-by: Darshan Sen <[email protected]>
1 parent 21b44f2 commit 2a8f035

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/virtual-file-system-requirements.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ within the single-executable does naive globbing using an off-the-shelf glob
7676
library, VFS file paths, which are considered internal to the single-executable,
7777
would not interfere with the actual file paths.
7878

79+
## Accept file paths in the VFS as arguments
80+
81+
If a single-executable formatter is run with an argument that is a path to a
82+
file inside the VFS, it should be able to use the `fs` APIs to read, format and
83+
print the formatted contents to `stdout`.
84+
7985
## Cross-platform tooling
8086

8187
The tooling required for archiving / extracting files into / from the VFS must

0 commit comments

Comments
 (0)