Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: c2ea1102fd
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (22 sloc) 0.343 kB
(use test-by-example)
(example-test (runtime '(path)) #<<.
> (path "abc")
"abc"
> (path "abc" "def")
"abc/def"
> (path "abc" "def" "ghi")
"abc/def/ghi"
> (dirpart "foo")
nil
> (dirpart "a/b/c/foo")
"a/b/c/"
> (dirpart "/a/b/c")
"/a/b/"
> (filepart "/a/b/c/")
nil
> (filepart "/a/b/c/foo.bar")
"foo.bar"
> (filepart "foo")
"foo"
.
)
Jump to Line
Something went wrong with that request. Please try again.