Module v.util.recompilation stdlib

v.util.recompilation
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
1
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

  • Standard Library

Imported by

Aliases

This section is empty.

Constants

This section is empty.

Sum types

This section is empty.

Functions

#fn disabling_file

fn disabling_file(vroot string) string

disabling_file returns the path to a file, which if present, will disable the automatic recompilation that V attempts, when it detects that itself is newer than a tool .v source file.

That file is intended to be made by touch cmd/tools/.disable_autorecompilation by package managers, so that tools like v up and v self will not work anymore, instead they will direct users to install V from source.

#fn must_be_enabled

fn must_be_enabled(vroot string, error_message string)

must_be_enabled is intended to be used by tools like v self and v up, to abort them early, when they detect that the V installation is part of a distro package, that has disabled autorecompilation.

Structs

This section is empty.

Interfaces

This section is empty.

Enums

This section is empty.