aboutsummaryrefslogtreecommitdiff
path: root/module/hnh
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-07-03 12:34:39 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-07-07 21:19:51 +0200
commit8f0b7521f7649d2fd5b92f7cfe311d2b325563a7 (patch)
treeb0356bc34fa1cb86b1f65655d8818dd588888738 /module/hnh
parentJS user addition for parsing Microsoft Teams links. (diff)
downloadcalp-8f0b7521f7649d2fd5b92f7cfe311d2b325563a7.tar.gz
calp-8f0b7521f7649d2fd5b92f7cfe311d2b325563a7.tar.xz
Add path-absolute?
Diffstat (limited to 'module/hnh')
-rw-r--r--module/hnh/util/path.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/hnh/util/path.scm b/module/hnh/util/path.scm
index ea081e85..0c8af48a 100644
--- a/module/hnh/util/path.scm
+++ b/module/hnh/util/path.scm
@@ -3,6 +3,7 @@
:use-module (srfi srfi-71)
:use-module (hnh util)
:export (path-append
+ path-absolute?
path-join
path-split
file-hidden?
@@ -12,6 +13,8 @@
(define // file-name-separator-string)
(define /? file-name-separator?)
+(define path-absolute? absolute-file-name?)
+
(define (path-append . strings)
(fold (lambda (s done)
(string-append