Module scripting stdlib

scripting
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
3
Imported by:
1
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

Imported by

  • Standard Library

Aliases

This section is empty.

Constants

This section is empty.

Sum types

This section is empty.

Functions

#fn chdir

fn chdir(path string)

#fn cprint

fn cprint(omessage string)

#fn cprint_strong

fn cprint_strong(omessage string)

#fn cprintln

fn cprintln(omessage string)

#fn cprintln_strong

fn cprintln_strong(omessage string)

#fn exec

fn exec(cmd string) !os.Result

execute a command, and return a result, or an error, if it failed in any way.

#fn exit_0_status

fn exit_0_status(cmd string) bool

#fn mkdir

fn mkdir(path string) !

#fn mkdir_all

fn mkdir_all(path string) !

#fn rmrf

fn rmrf(path string)

#fn run

fn run(cmd string) string

run a command, tracing its results, and returning ONLY its output

#fn set_verbose

fn set_verbose(on bool)

#fn show_sizes_of_files

fn show_sizes_of_files(files []string)

#fn tool_must_exist

fn tool_must_exist(toolcmd string)

#fn used_tools_must_exist

fn used_tools_must_exist(tools []string)

#fn verbose_trace

fn verbose_trace(label string, message string)

#fn verbose_trace_exec_result

fn verbose_trace_exec_result(x os.Result)

#fn verbose_trace_strong

fn verbose_trace_strong(label string, omessage string)

Structs

This section is empty.

Interfaces

This section is empty.

Enums

This section is empty.