Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# io.fs
|
||||
|
||||
`io.fs` defines small filesystem interfaces that can be shared by different
|
||||
backends and virtual filesystems.
|
||||
|
||||
The module is modeled after Go's `io/fs` package, but follows V naming and type
|
||||
conventions.
|
||||
|
||||
Current helpers:
|
||||
|
||||
- `valid_path(name string) bool`
|
||||
- `read_file(filesystem FS, name string) ![]u8`
|
||||
- `read_dir(filesystem FS, name string) ![]DirEntry`
|
||||
- `stat(filesystem FS, name string) !FileInfo`
|
||||
- `file_info_to_dir_entry(info FileInfo) DirEntry`
|
||||
Reference in new issue
Block a user