diff --git a/README.md b/README.md index ca887f1..c764240 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ is a simple file path library for Carp. ## Installation ```clojure -(load "https://veitheller.de/git/carpentry/path@0.0.1") +(load "https://veitheller.de/git/carpentry/path@0.0.2") ``` ### Usage diff --git a/docs/Path.html b/docs/Path.html index 63fa65b..b771678 100644 --- a/docs/Path.html +++ b/docs/Path.html @@ -31,7 +31,7 @@

is a simple file path library for Carp.

Installation

-
(load "https://veitheller.de/git/carpentry/path@0.0.1")
+
(load "https://veitheller.de/git/carpentry/path@0.0.2")
 

Usage

The Path module mostly operates on String arguments. It allows you to @@ -70,7 +70,7 @@ has some functions to work with the PATH environment variable.

defn

- (λ [&String] (Maybe String)) + (λ [(Ref String a)] (Maybe String))

                     (absolute p)
@@ -90,7 +90,7 @@ has some functions to work with the PATH environment variable.

defn

- (λ [&String] Bool) + (λ [(Ref String a)] Bool)

                     (absolute? p)
@@ -111,7 +111,7 @@ has some functions to work with the PATH environment variable.

defn

- (λ [&String, &String] String) + (λ [(Ref String a), (Ref String b)] String)

                     (add-extension p ext)
@@ -131,7 +131,7 @@ has some functions to work with the PATH environment variable.

defn

- (λ [&String] String) + (λ [(Ref String a)] String)

                     (basename p)
@@ -172,7 +172,7 @@ which it can fail are OS-dependent, but it should happen relatively rare.

defn

- (λ [&String] String) + (λ [(Ref String a)] String)

                     (drop-extension p)
@@ -193,7 +193,7 @@ is none.

defn

- (λ [&String] (Maybe String)) + (λ [(Ref String a)] (Maybe String))

                     (extension p)
@@ -213,7 +213,7 @@ is none.

defn

- (λ [&String] (Maybe String)) + (λ [(Ref String a)] (Maybe String))

                     (filename p)
@@ -254,7 +254,7 @@ is none.

defn

- (λ [&String] Bool) + (λ [(Ref String a)] Bool)

                     (has-extension? p)
@@ -274,7 +274,7 @@ is none.

defn

- (λ [&String, &String] Bool) + (λ [(Ref String a), (Ref String b)] Bool)

                     (is-extension? p ext)
@@ -294,7 +294,7 @@ is none.

defn

- (λ [(Ref (Array String))] String) + (λ [(Ref (Array String) a)] String)

                     (join ps)
@@ -335,7 +335,7 @@ is none.

defn

- (λ [&String] Bool) + (λ [(Ref String a)] Bool)

                     (relative? p)
@@ -356,7 +356,7 @@ is none.

defn

- (λ [&String, &String] String) + (λ [(Ref String a), (Ref String b)] String)

                     (replace-extension p ext)
@@ -437,7 +437,7 @@ variable we use on this OS.

defn

- (λ [&Char] Bool) + (λ [(Ref Char StaticLifetime)] Bool)

                     (separator? c)
@@ -478,7 +478,7 @@ variable we use on this OS.

defn

- (λ [&String] (Array String)) + (λ [(Ref String a)] (Array String))

                     (split p)
@@ -499,7 +499,7 @@ variable we use on this OS.

defn

- (λ [&String] (Maybe (Pair String String))) + (λ [(Ref String a)] (Maybe (Pair String String)))

                     (split-extension p)
@@ -536,7 +536,7 @@ the extension.

defn

- (λ [&String] (Array String)) + (λ [(Ref String a)] (Array String))

                     (split-search-path p)
diff --git a/path.carp b/path.carp
index d4211d2..115982c 100644
--- a/path.carp
+++ b/path.carp
@@ -3,7 +3,7 @@
 ## Installation
 
 ```clojure
-(load \"https://veitheller.de/git/carpentry/path@0.0.1\")
+(load \"https://veitheller.de/git/carpentry/path@0.0.2\")
 ```
 
 ### Usage