Liking cljdoc? Tell your friends :D

e85th.commons.fs


atomic-moveclj

Atomic Move file option

Atomic Move file option
sourceraw docstring

bunzip2-and-untarclj

(bunzip2-and-untar src dest)
(bunzip2-and-untar src dest delete-src?)
source

byte-channelclj

(byte-channel file-path)
(byte-channel file-path open-opts file-attrs)
source

copy-attrsclj

Copy file attrs

Copy file attrs
sourceraw docstring

create-dirsclj

(create-dirs dir-path & file-attrs)

Create directories including parent dirs. file-attrs are FileAttribute

Create directories including parent dirs. file-attrs are `FileAttribute`
sourceraw docstring

create-temp-dirclj

(create-temp-dir)
(create-temp-dir prefix attrs)

Returns a Path object.

Returns a Path object.
sourceraw docstring

create-temp-fileclj

(create-temp-file)
(create-temp-file file-name)
(create-temp-file dir file-name)
(create-temp-file dir file-name attrs)

Returns a Path object. file-name can't have a '/' in it

Returns a Path object. file-name can't have a '/' in it
sourceraw docstring

default-fsclj

(default-fs)
source

deleteclj

(delete file-path)

Delete a file or if directory recursively delete the directory.

Delete a file or if directory recursively delete the directory.
sourceraw docstring

directory?clj

(directory? path & link-opts)

path is an instance of java.nio.file.Path

path is an instance of java.nio.file.Path
sourceraw docstring

empty-file?clj

One arg takes a file name, Path or File object.

One arg takes a file name, Path or File object.
sourceraw docstring

input-streamclj

(input-stream file-path & open-opts)

open-opts are OpenOption

open-opts are `OpenOption`
sourceraw docstring

input-stream?clj

source

IPathcljprotocol

pathclj

(path this)
source

kw->open-optionclj

source

moveclj

(move src dest & copy-opts)

copy-opts are fs/overwrite

copy-opts are fs/overwrite
sourceraw docstring

non-empty-file?clj

complement of empty-file?

complement of empty-file?
sourceraw docstring

normalize-open-optionsclj

(normalize-open-options opts)

returns a set of StandardOpenOption from an input of opts which contains keywords

returns a set of StandardOpenOption from an input of
opts which contains keywords
sourceraw docstring

openclj

(open file-path)
(open file-path open-opts)
(open file-path open-opts file-attrs)

open a file

open a file
sourceraw docstring

output-streamclj

(output-stream file-path & open-opts)

open-opts are OpenOption

open-opts are `OpenOption`
sourceraw docstring

output-stream?clj

source

overwriteclj

Overwrite file option

Overwrite file option
sourceraw docstring

resolve-pathclj

(resolve-path parent-path file-name)
source

sizeclj

(size file-path)
source

transferclj

(transfer src-chan dest-chan)
(transfer src-chan dest-chan buffer-size)

Transfers bytes from src-chan to dest-chan. dest-chan should be a WriteableByteChannel.

Transfers bytes from src-chan to dest-chan.
dest-chan should be a WriteableByteChannel.
sourceraw docstring

transfer-fromclj

(transfer-from src-chan dest-chan)
(transfer-from src-chan dest-chan position)
(transfer-from src-chan dest-chan position max-count)

Transfer bytes from src-chan to dest-chan. src-chan is a ReadableByteChannel.

Transfer bytes from `src-chan` to `dest-chan`.
`src-chan is a ReadableByteChannel.`
sourceraw docstring

transfer-toclj

(transfer-to src-chan dest-chan)
(transfer-to src-chan dest-chan position)
(transfer-to src-chan dest-chan position max-count)

Transfer bytes from src-chan to dest-chan. dest-chan is a WriteableByteChannel

Transfer bytes from `src-chan` to `dest-chan`.
dest-chan is a WriteableByteChannel
sourceraw docstring

writeclj

(write file-path lines open-opts)
(write file-path lines char-set open-opts)

Writes lines to file. NB. this will automatically insert a newline after each line.

Writes lines to file. NB. this will automatically insert a newline
after each line.
sourceraw docstring

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

× close