Module io.util stdlib

io.util
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
2
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 temp_dir

fn temp_dir(tdo TempFileOptions) !string

temp_dir returns a uniquely named, writable, directory path.

#fn temp_file

fn temp_file(tfo TempFileOptions) !(os.File, string)

temp_file returns a uniquely named, open, writable, os.File and it's path.

Structs

#struct TempFileOptions

params
pub struct TempFileOptions {
	path    string = os.temp_dir()
	pattern string
}

#struct TempDirOptions

params
pub struct TempDirOptions {
	path    string = os.temp_dir()
	pattern string
}

Interfaces

This section is empty.

Enums

This section is empty.