From 23d2c55ed8fe9324755640d87b0c3a7cb9ba5ac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 23 Jun 2022 03:56:52 +0200 Subject: Document filename-extension and realpath. --- doc/ref/guile/util-path.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.3