Liking cljdoc? Tell your friends :D

cljs-node-io.file

a port of java.io.File's reified files to node

a port of java.io.File's reified files to node
raw docstring

createTempFilecljs

(createTempFile prefix)
(createTempFile prefix suffix)
(createTempFile prefix suffix dir)

get-non-dirscljs

(get-non-dirs pathstring)

Returns sequence of strings representing non-existing directory components of the passed pathstring, root first, in order @param {!string} pathstring @return {!ISeq}

Returns sequence of strings representing non-existing directory components
of the passed pathstring, root first, in order
@param {!string} pathstring
@return {!ISeq}
raw docstring

pathcljs


pathSeparatorcljs


pathSeparatorCharcljs


separatorcljs


separatorCharcljs


setExecutablecljs

(setExecutable pathstr executable)
(setExecutable pathstr executable ownerOnly)

toggles the executable permission bit(s) for the specified filepath. If executable, set 1 else 0 If ownerOnly (default) set just user, else set for group & other as well. Does not affect other permission bits.

toggles the executable permission bit(s) for the specified filepath.
If executable, set 1 else 0
If ownerOnly (default) set just user, else set for group & other as well.
Does not affect other permission bits.
raw docstring

setExecutable*cljs

(setExecutable* mode executable ownerOnly)

@param {!number} mode : the file's existing mode @param {!boolean} executable : add or remove execute permission @param {!boolean} ownerOnly : restrict operation to user bit only @return {!number} A int for chmod that only effects the targeted mode bits

@param {!number} mode : the file's existing mode
@param {!boolean} executable : add or remove execute permission
@param {!boolean} ownerOnly : restrict operation to user bit only
@return {!number} A int for chmod that only effects the targeted mode bits
raw docstring

setReadablecljs

(setReadable pathstr readable)
(setReadable pathstr readable ownerOnly)

toggles the readable permission bit(s) for the specified filepath. If readable, set 1 else 0 If ownerOnly (default) set just user, else set for group & other as well. Does not affect other permission bits.

toggles the readable permission bit(s) for the specified filepath.
If readable, set 1 else 0
If ownerOnly (default) set just user, else set for group & other as well.
Does not affect other permission bits.
raw docstring

setReadable*cljs

(setReadable* mode readable ownerOnly)

@param {!number} mode : the file's existing mode @param {!boolean} readable : add or remove read permission @param {!boolean} ownerOnly : restrict operation to user bit only @return {!number} A int for chmod that only effects the targeted mode bits

@param {!number} mode : the file's existing mode
@param {!boolean} readable : add or remove read permission
@param {!boolean} ownerOnly : restrict operation to user bit only
@return {!number} A int for chmod that only effects the targeted mode bits
raw docstring

setWritablecljs

(setWritable pathstr writable)
(setWritable pathstr writable ownerOnly)

toggles the writable permission bit(s) for the specified filepath. If writable, set 1 else 0 If ownerOnly (default) set just user, else set for group & other as well. Does not affect other permission bits.

toggles the writable permission bit(s) for the specified filepath.
If writable, set 1 else 0
If ownerOnly (default) set just user, else set for group & other as well.
Does not affect other permission bits.
raw docstring

setWritable*cljs

(setWritable* mode writable ownerOnly)

@param {!number} mode : the file's existing mode @param {!boolean} writable : add or remove write permission @param {!boolean} ownerOnly : restrict operation to user bit only @return {!number} A int for chmod that only effects the targeted mode bits

@param {!number} mode : the file's existing mode
@param {!boolean} writable : add or remove write permission
@param {!boolean} ownerOnly : restrict operation to user bit only
@return {!number} A int for chmod that only effects the targeted mode bits
raw docstring

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

× close