typos
svn: r3057
This commit is contained in:
parent
2d0cbdba67
commit
2c9a54cd34
|
@ -172,13 +172,13 @@
|
||||||
filename))))
|
filename))))
|
||||||
|
|
||||||
(define (file-name who name)
|
(define (file-name who name)
|
||||||
(unless (path-string? who)
|
(unless (path-string? name)
|
||||||
(raise-type-error who "path or string" name))
|
(raise-type-error who "path or string" name))
|
||||||
(let-values ([(base file dir?) (split-path name)])
|
(let-values ([(base file dir?) (split-path name)])
|
||||||
(and (not dir?) (path? file) file)))
|
(and (not dir?) (path? file) file)))
|
||||||
|
|
||||||
(define (file-name-from-path name)
|
(define (file-name-from-path name)
|
||||||
(filename 'file-name-from-path))
|
(file-name 'file-name-from-path))
|
||||||
|
|
||||||
(define (path-only name)
|
(define (path-only name)
|
||||||
(unless (path-string? name)
|
(unless (path-string? name)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user