diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-23 03:56:52 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-23 03:56:52 +0200 |
commit | 23d2c55ed8fe9324755640d87b0c3a7cb9ba5ac6 (patch) | |
tree | d67ab39efb7cee41a80056e96da32ff1fc4e04af /doc/ref/guile | |
parent | Centralize (almost) all exports to :export in define-module. (diff) | |
download | calp-23d2c55ed8fe9324755640d87b0c3a7cb9ba5ac6.tar.gz calp-23d2c55ed8fe9324755640d87b0c3a7cb9ba5ac6.tar.xz |
Document filename-extension and realpath.
Diffstat (limited to 'doc/ref/guile')
-rw-r--r-- | doc/ref/guile/util-path.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/ref/guile/util-path.texi b/doc/ref/guile/util-path.texi index 1abef3a6..322c50ec 100644 --- a/doc/ref/guile/util-path.texi +++ b/doc/ref/guile/util-path.texi @@ -30,3 +30,13 @@ kept. Meaning that Splits path into a list of components. The first component will be @code{""} if path is absolute. @end defun + + +@defun filename-extension filename +Returns the extension of the filename, or the empty string if none exists. +@end defun + +@defun realpath path +Equivalent of realpath(3). Absolute file names are returned as is, +while relative filenames gets expanded to absolute filenames. +@end defun |