You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be without error to construct a FilePath when AmbientAuth is available as FilePath is a pairing between some path string and capabilities on that path. For capabilities, the current constructor uses a union of (FilePath | AmbientAuth). Insufficient capabilities or access allows the first half of this union, FilePath, to fail, however the latter half, AmbientAuth, can never fail.
It should be without error to construct a
FilePath
whenAmbientAuth
is available asFilePath
is a pairing between some path string and capabilities on that path. For capabilities, the current constructor uses a union of(FilePath | AmbientAuth)
. Insufficient capabilities or access allows the first half of this union,FilePath
, to fail, however the latter half,AmbientAuth
, can never fail.https://github.com/ponylang/rfcs/blob/main/text/0070-filepath-constructor.md
The text was updated successfully, but these errors were encountered: