On this page:
EROOT
vdb-path
get-default-vdb-path
vdb-available?
8.16

1 EnvironmentπŸ”—β„Ή

 (require vdb/env) package: vdb-lib

value

EROOT : path?

The value of "EROOT" environment variable, if unset it is equal to "/".

parameter

(vdb-path) β†’ path-string?

(vdb-path directory-path) β†’ void?
  directory-path : path-string?
 = (get-default-vdb-path)
Path to the current system’s Portage VDB.

Usually it will be equal to "/var/db/pkg".

procedure

(get-default-vdb-path) β†’ path?

Return the default Portage VDB path of the current system.

procedure

(vdb-available?) β†’ boolean?

Check if the Portage VDB is available.