-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
A thread to track the overall API roadmap for the CLI.
IO
Directory
- create
- remove
- exists
- list
File
- static create(path)
- static create(path,fn)
- static delete(path)
- static exists(path)
- static open(path)
- static open(path,fn)
- static openWithFlags(path, flags)
- static openWithFlags(path, flags, fn)
- static read(path)
- static realPath(path)
- size(path)
- close()
- size()
- stat()
- readBytes(count)
- readBytes(count,offset)
- writeBytes(bytes)
- writeBytes(bytes, offset)
FileFlags
- static readOnly { 0x01 }
- static writeOnly { 0x02 }
- static readWrite { 0x04 }
- static sync { 0x08 }
- static create { 0x10 }
- static truncate { 0x20 }
- static exclusive { 0x40 }
Stat
- static path(path
- blockCount
- blockSize
- device -> isDevice
- group
- inode
- linkCount
- mode
- size
- specialDevice -> isSpecialDevice
- user
- isFile
- isDirectory
Stdin
- readByte
- readLine
- readCodepoint ((end) support Emoji and UTF-8 input in CLI #71)
- readAll ???
Stdout
- flush
OS
Platform
- isPosix
- isWindows
- name
- homeDir ([RFC] ~/.wren directory #78)
Process
- arguments
- allArguments
- cwd -> Directory.currentWorking ???
- pid
- ppid
- version -> System.wrenVersion
- exit ((enh) add OS / Process.exit #74)
Scheduler
- static add(callable)
- runNextScheduled_(fiber) - not really private cause we call it everwhere
Timer
- sleep -> Scheduler.sleep ???
Metadata
Metadata
Assignees
Labels
No labels