Ashet OS

async_call: ashet.fs.OpenFile

Documentation

opens a file from the given directory.

Inputs

dir: Directory
path: str
access: FileAccess
mode: FileMode

Outputs

handle: File

Errors

DiskError
Exists
FileAlreadyExists
FileNotFound
InvalidHandle
InvalidPath
NoSpaceLeft
SystemFdQuotaExceeded
SystemResources
WriteProtected