Liking cljdoc? Tell your friends :D

ounz.core

Utility functions related to do system operations, such as running processes.

Utility functions related to do system operations, such as running processes.
raw docstring

cpr!clj

(cpr! src-uri dest-uri)

Recursively copies 'src-uri' to 'dest-uri' overwriting existing files and directories with the same paths as under 'dest-uri'.

Recursively copies 'src-uri' to 'dest-uri' overwriting existing files and directories with the same paths as under 'dest-uri'.
raw docstring

create-process-builder!clj

(create-process-builder! executable)

direct-child-dirsclj

(direct-child-dirs dir-obj)

direct-child-filesclj

(direct-child-files dir-obj)

kill!clj

(kill! executable)

ls-dirsclj

(ls-dirs & base-uris)

Returns a listing of all directories that are direct children of 'base-uri' as uris.

Returns a listing of all directories that are direct children of 'base-uri' as uris.
raw docstring

mkdir!clj

(mkdir! dir-uri)

Creates 'dir-uri' on disk.

Creates 'dir-uri' on disk.
raw docstring

mv!clj

(mv! src-uri dest-uri)

Renames a local file pointed out by 'src-uri' to a local file represented by 'dest-uri'.

Renames a local file pointed out by 'src-uri' to a local file represented by 'dest-uri'.
raw docstring

pb!clj

(pb! working-dir command & options)

Working dir defines the origin directory of all other arguments as well as for created processes based on the created process builder.

Working dir defines the origin directory of all other arguments as well as for created processes based on the created process builder.
raw docstring

proc!clj

(proc! process-builder)

reset-files-in-dir!clj

(reset-files-in-dir! dir-uri files)

Resets the files directly under 'dir-uri' to match the supplied 'files' map on the form {:filename "content"}. If content is not a string, it will be regarded as a file to leave untouched if it already exists.

Resets the files directly under 'dir-uri' to match the supplied 'files' map on the form {:filename "content"}. If content is not a string, it will be regarded as a file to leave untouched if it already exists.
raw docstring

rrmdir!clj

(rrmdir! dir)

Recursively removes the directory at 'dir', 'dir' being either a java.io.File, a java.net.URI representing a directory or an URI string.

Recursively removes the directory at 'dir', 'dir' being either a java.io.File, a java.net.URI representing a directory or an URI string.
raw docstring

run!clj

(run! executable)

slurp-filesclj

(slurp-files base-uris & name-regex)

Slurps all files found as direct children of the supplied base uris and merges them into a {:filename "content"} map. Optionally 'name-regex' can be supplied to filter on certain filenames.

Slurps all files found as direct children of the supplied base uris and merges them into a {:filename "content"} map. Optionally 'name-regex' can be supplied to filter on certain filenames.
raw docstring

start-process!clj

(start-process! executable)

to-fileclj

(to-file dir)

Converts a java.io.File, java.net.URI or an URI string to a java.io.File object.

Converts a java.io.File, java.net.URI or an URI string to a java.io.File object.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close