Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Latest commit

 

History

History
43 lines (40 loc) · 2.57 KB

File metadata and controls

43 lines (40 loc) · 2.57 KB

fs Module

Method/Property Type Status Notes
separator string ✅ Implemented The directory separator, i.e. \
workingDirectory string ✅ Implemented Returns the current working directory
absolute(path) string ✅ Implemented
changeWorkingDirectory(path) bool ✅ Implemented
copy(source, destination) ✅ Implemented
copyTree(source, destination) ✅ Implemented
exists(path) bool ✅ Implemented
isAbsolute(path) bool ✅ Implemented
isDirectory(path) bool ✅ Implemented
isExecutable(path) bool ✅ Implemented
isFile(path) bool ✅ Implemented
isLink(path) bool ✅ Implemented
isReadable(path) bool ✅ Implemented
isWritable(path) string ✅ Implemented
list(path) string[] ✅ Implemented Lists files in path
makeTree(path) bool ✅ Implemented
move(source, destination) ✅ Implemented
open(path, mode) Stream ✅ Implemented
read(path[, param]) string ✅ Implemented
readLink(path) string ✅ Implemented
remove(path) ✅ Implemented
removeDirectory(path) ✅ Implemented
removeTree(path) ✅ Implemented
size(path) long ✅ Implemented Returns the file size of the provided path
touch(path) ✅ Implemented
write(path, content, param) ✅ Implemented

Stream

Method/Property Type Status
atEnd() bool ✅ Implemented
close() ✅ Implemented
flush() ✅ Implemented
read() string ✅ Implemented
readLine() string ✅ Implemented
seek(pos) ✅ Implemented
write(data) ✅ Implemented
writeLine(data) ✅ Implemented