diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-07-07 21:30:56 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-07-07 21:30:56 +0200 |
commit | 5bc55f5063280bab9c26981db517957225dff404 (patch) | |
tree | ac81088f4cae777fb2409271a3884c8e49ee768f /module/hnh/util/path.scm | |
parent | Add basic c evaluator. (diff) | |
parent | Add srfi-64 util. (diff) | |
download | calp-5bc55f5063280bab9c26981db517957225dff404.tar.gz calp-5bc55f5063280bab9c26981db517957225dff404.tar.xz |
Merge path-absolute? and better test running.
Diffstat (limited to 'module/hnh/util/path.scm')
-rw-r--r-- | module/hnh/util/path.scm | 3 |
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 |