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

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.