Fixed types for path operations. Closes PR12057.
original commit: a7f0f7591d17558ed17644fadb89ad01216fd77a
This commit is contained in:
parent
ff9fa5fbfd
commit
703eac8bd5
|
@ -888,6 +888,9 @@
|
|||
(tc-e (path->directory-path "foo") -Path)
|
||||
(tc-e (path->directory-path (string->some-system-path "foo" 'unix)) -SomeSystemPath)
|
||||
|
||||
(tc-e (resolve-path "foo") -Path)
|
||||
(tc-e (expand-user-path "foo") -Path)
|
||||
|
||||
;;String Tests
|
||||
(tc-e (string? "a") #:ret (ret B (-FS -top -bot)))
|
||||
(tc-e (string? 2) #:ret (ret B (-FS -bot -top)))
|
||||
|
|
|
@ -888,11 +888,11 @@
|
|||
(cl->* (-> -Pathlike -Path)
|
||||
(-> -SomeSystemPathlike -SomeSystemPath))]
|
||||
|
||||
[resolve-path (-> -Path -Path)]
|
||||
[resolve-path (-> -Pathlike -Path)]
|
||||
[cleanse-path
|
||||
(cl->* (-> -Pathlike -Path)
|
||||
(-> -SomeSystemPathlike -SomeSystemPath))]
|
||||
[expand-user-path (-> -Path -Path)]
|
||||
[expand-user-path (-> -Pathlike -Path)]
|
||||
|
||||
[simplify-path
|
||||
(cl->*
|
||||
|
|
Loading…
Reference in New Issue
Block a user