mes: Add file-exists?.
* mes/module/mes/guile.mes (file-exists?): New function.
This commit is contained in:
parent
e95c5742be
commit
e0a2d540f4
|
@ -137,4 +137,8 @@
|
|||
(if destination (simple-format lst rest)
|
||||
(with-output-to-string
|
||||
(lambda () (simple-format lst rest))))))
|
||||
|
||||
(define format simple-format)
|
||||
|
||||
(define (file-exists? o)
|
||||
(access? o R_OK))
|
||||
|
|
Loading…
Reference in New Issue