aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-23 03:56:52 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-23 03:56:52 +0200
commit23d2c55ed8fe9324755640d87b0c3a7cb9ba5ac6 (patch)
treed67ab39efb7cee41a80056e96da32ff1fc4e04af /doc
parentCentralize (almost) all exports to :export in define-module. (diff)
downloadcalp-23d2c55ed8fe9324755640d87b0c3a7cb9ba5ac6.tar.gz
calp-23d2c55ed8fe9324755640d87b0c3a7cb9ba5ac6.tar.xz
Document filename-extension and realpath.
Diffstat (limited to 'doc')
-rw-r--r--doc/ref/guile/util-path.texi10
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