whatwg / fs

File System Standard
https://fs.spec.whatwg.org/
Other
225 stars 19 forks source link

Consider specifying "origin private file system"-ness on each "file system locator" #103

Closed a-sully closed 1 year ago

a-sully commented 1 year ago

Context: https://github.com/whatwg/fs/pull/96#discussion_r1130265157 Related to #92

The cleanest way to do this would be to give each locator an optional Storage Bucket (see WICG/storage-buckets), though that API is not yet standardized

annevk commented 1 year ago

Can we check that the first item in path is the empty string as per https://github.com/whatwg/fs/pull/96#issuecomment-1471523968? I realize that is a tad magical so we could define some kind of predicate for it that has a note alongside explaining the situation.