8.16.0.4
2 Path utilities
(require vdb/path) | package: vdb-lib |
procedure
(vdb-package-name category name version) → string?
category : string? name : string? version : string?
Join category, name and version in Portage style.
Example:
> (vdb-package-name "sys-devel" "gcc" "11.3.0") "sys-devel/gcc-11.3.0"
procedure
(vdb-package-path package-full-name) → path?
package-full-name : string?
Return a path to package-full-name inside vdb-path.
procedure
(vdb-package-path-join category name version) → string? category : string? name : string? version : string?
Return a path to a package inside vdb-path.