-
Notifications
You must be signed in to change notification settings - Fork 0
INDEX
-
Module: os
-
Access files and folders. Run shell commands.
-
base_dir(path string) string
-
cache_dir() string
-
chdir(path string)
-
chmod(path string, mode int)
-
clear()
-
cp(old, new string) ?bool
-
cp_all(osource_path, odest_path string, overwrite bool) ?bool
-
create(path string) ?File
-
dir(path string) string
-
environ() map[string]string
-
executable() string
-
ext(path string) string
-
file_last_mod_unix(path string) int
-
file_size(path string) int
-
filename(path string) string
-
flush()
-
fork() int
-
get_error_msg(code int) string
-
get_lines() []string
-
get_lines_joined() string
-
get_raw_line() string
-
getenv(key string) string
-
getwd() string
-
home_dir() string
-
is_abs_path(path string) bool
-
is_dir(path string) bool
-
is_dir_empty(path string) bool
-
is_executable(path string) bool
-
is_link(path string) bool
-
is_readable(path string) bool
-
is_writable(path string) bool
-
join_path(base string, dirs …string) string
-
log(s string)
-
ls(path string) ?[]string
-
mkdir(path string) ?bool
-
mkdir_all(path string)
-
mv(old, new string)
-
mv_by_cp(source, target string) ?bool
-
on_segfault(f voidptr)
-
open(path string) ?File
-
open_append(path string) ?File
-
open_file(path, mode string, options …int) ?File
-
posix_get_error_msg(code int) string
-
read_bytes(path string) ?[]byte
-
read_file(path string) ?string
-
realpath(fpath string) string
-
resource_abs_path(path string) string
-
rm(path string)
-
rmdir(path string)
-
rmdir_all(path string)
-
setenv(name, value string, overwrite bool) int
-
sigint_to_signal_name(si int) string
-
signal(signum int, handler voidptr)
-
symlink(origin, target string) ?bool
-
system(cmd string) int
-
temp_dir() string
-
unsetenv(name string) int
-
user_os() string
-
wait() int
-
walk(path string, f int)
-
walk_ext(path, ext string) []string
-
write_file(path, text string)
-
(f File) is_opened() bool
-
(f File) read_bytes(size int) []byte
-
(f File) read_bytes_at(size, pos int) []byte
-
(f mut File) close()
-
(f mut File) flush()
-
(f mut File) write(s string)
-
(f mut File) write_bytes(data voidptr, size int)
-
(f mut File) write_bytes_at(data voidptr, size, pos int)
-
(f mut File) writeln(s string)
-
-