G
G
Gentee
GitHub
Download
Eonza
Search
⌃K
Links
Gentee script programming language
Language Reference
Standard Library Reference
Archiving
Array
Boolean
Buffer
Characters
Console
Constants
Context
Cryptography
Encoding
Files
Float numbers
Integer
Map
Multithreading
Network
Object
Path
Process
Regular expressions
Runtime
Sets
Strings
System
Time
Go Integration
Change language
Русский
Powered By
GitBook
Files
Functions for working with files and directories are described here.
AppendFile( str filename, buf | str data )
ChDir( str dirname )
ChMode( str name, int mode )
CloseFile( file f )
CopyFile( str src, str dest ) int
CreateDir( str dirname )
CreateFile( str name, bool trunc )
ExistFile( str name ) bool
FileInfo( file f ) finfo
FileInfo( str name ) finfo
FileMode( str name ) int
GetCurDir() str
IsEmptyDir( str path ) bool
Md5File( str filename ) str
obj( finfo fi ) obj
OpenFile( str filename, int flags ) file
Read( file f, int size ) buf
ReadDir( str dirname ) arr.finfo
ReadDir( str dirname, int flags, str pattern ) arr.finfo
ReadDir( str dirname, int flags, arr.str patterns, arr.str ignore ) arr.finfo
ReadFile( str filename ) str
ReadFile( str filename, buf out ) buf
ReadFile( str filename, int offset, int length ) buf
Remove( str name )
RemoveDir( str dirname )
Rename( str oldpath, str newpath )