Pat Hickey
|
1d8070b734
|
wasi-c2: completely redo how errors work
|
2021-01-22 15:03:16 -08:00 |
|
Pat Hickey
|
fcd00f5de1
|
move more deps to cap-std-sync, define own SystemTimeSpec
|
2021-01-21 12:35:55 -08:00 |
|
Pat Hickey
|
f3e40e2fc4
|
restructure cap-std impls into their own crate
|
2021-01-20 19:09:15 -08:00 |
|
Pat Hickey
|
ea94d6f79d
|
this is indeed a nice way to do refs!
|
2021-01-13 15:11:11 -08:00 |
|
Pat Hickey
|
4a54db0837
|
derive debug and clone on DirFdStat / FdStat
|
2021-01-11 17:58:53 -08:00 |
|
Pat Hickey
|
b1d32f419c
|
use bitflags crate to define bitflags, rather than by hand
|
2021-01-11 17:48:41 -08:00 |
|
Pat Hickey
|
4044977f50
|
just ignore nofollow on links for now
|
2021-01-11 17:05:09 -08:00 |
|
Pat Hickey
|
932ba6b4f3
|
need DirExt::hard_link_nofollow to implement path_link properly
|
2021-01-11 15:47:57 -08:00 |
|
Pat Hickey
|
2d2e6d16a1
|
Dir::open_file, open_dir: correct symlink following
|
2021-01-11 15:15:54 -08:00 |
|
Pat Hickey
|
31c5328971
|
incorporate dan's suggestions on readdir
|
2021-01-05 14:36:32 -08:00 |
|
Pat Hickey
|
ce13cd9e77
|
dir: add set times
|
2021-01-05 14:24:02 -08:00 |
|
Pat Hickey
|
fb32f65118
|
get path filestat on a dir
|
2021-01-05 13:51:55 -08:00 |
|
Pat Hickey
|
07a9584a08
|
add hard_link to dir
|
2021-01-05 12:19:56 -08:00 |
|
Pat Hickey
|
21cd55b0a7
|
add directory rename
|
2021-01-05 12:14:07 -08:00 |
|
Pat Hickey
|
94d2280187
|
better docs
|
2021-01-05 11:01:52 -08:00 |
|
Pat Hickey
|
d51ffe8d4e
|
add . and .. to the readdir iterator
|
2021-01-04 17:27:32 -08:00 |
|
Pat Hickey
|
10a84727fa
|
Ilseq is the correct error when osstring cant be turned into string
|
2021-01-04 16:04:00 -08:00 |
|
Pat Hickey
|
8672dce541
|
open_file requires the FdFlags
|
2020-12-18 16:56:58 -08:00 |
|
Pat Hickey
|
c1919259dc
|
implement fd_readdir
|
2020-12-18 16:13:29 -08:00 |
|
Pat Hickey
|
af0aa14ee8
|
get a FileStat of a Dir
and fill out some remaining DirCaps from Rights
|
2020-12-18 16:13:10 -08:00 |
|
Pat Hickey
|
8cc1ab7720
|
fixup filetype nonsense
tried to go my own way here, bad idea, stick to the design of wasi buddy
|
2020-12-18 12:30:40 -08:00 |
|
Pat Hickey
|
82edae32b7
|
readlink
|
2020-12-18 11:33:28 -08:00 |
|
Pat Hickey
|
8777194f0d
|
always open files read if not write
and if creating a file, open it write.
|
2020-12-16 16:07:23 -08:00 |
|
Pat Hickey
|
af8bdf8933
|
table: borrow entry immutably or mutably
|
2020-12-16 15:55:30 -08:00 |
|
Pat Hickey
|
27ddbda829
|
preopens with Caps::all, implement create, remove dir, remove file
|
2020-12-16 15:15:48 -08:00 |
|
Pat Hickey
|
c0461ca170
|
redesign how caps fit into entries!
|
2020-12-15 18:09:36 -08:00 |
|
Pat Hickey
|
b5852bf5ff
|
open_dir can never create a dir
|
2020-12-15 16:44:03 -08:00 |
|
Pat Hickey
|
04805fcc5f
|
pass a test, dubiously
|
2020-12-14 19:48:30 -08:00 |
|
Pat Hickey
|
47f3a6bcb9
|
sketchy implementation of readdir
|
2020-12-10 17:31:21 -08:00 |
|
Pat Hickey
|
229474d6e0
|
sketchy path_open
|
2020-12-07 18:21:09 -08:00 |
|
Pat Hickey
|
5590b27fdf
|
impl WasiFile for cap_std::fs::File
|
2020-12-07 17:12:08 -08:00 |
|
Pat Hickey
|
05ecdbfa96
|
change the preopen strategy again, implement more calls
|
2020-12-03 17:12:21 -08:00 |
|