Liking cljdoc? Tell your friends :D

bacure.local-save


config-fileclj

source

delete-configsclj

(delete-configs)

Delete the configuration file for the local-device.

Delete the configuration file for the local-device.
sourceraw docstring

get-configsclj

(get-configs)

Get the map configs for the local device.

Get the map configs for the local device.
sourceraw docstring

get-program-contentclj

(get-program-content)
(get-program-content n)

Return the string content of a program file. Nil if file doesn't exist (or is empty).

Return the string content of a program file. Nil if file doesn't
exist (or is empty).
sourceraw docstring

get-program-fileclj

(get-program-file)
(get-program-file name)

Return the program file as a string.

Return the program file as a string.
sourceraw docstring

load-programclj

(load-program)
(load-program name)

Load a given program file. Default to 'main' if no name is given.

Load a given program file. Default to 'main' if no name is given.
sourceraw docstring

make-program-pathclj

(make-program-path name)
source

merge-and-save-configsclj

(merge-and-save-configs content)

Merge the given map with the config file. Return the resulting map.

Merge the given map with the config file. Return the resulting map.
sourceraw docstring

mkdir-spitclj

(mkdir-spit f content)

Try to make the directories leading to the file if they don't already exists.

Try to make the directories leading to the file if they don't
already exists.
sourceraw docstring

pathclj

source

safe-readclj

(safe-read s)

Evaluate the string in a safe way. If error while reading, return nil

Evaluate the string in a safe way. If error while reading, return
nil
sourceraw docstring

save-and-loadclj

(save-and-load content)
(save-and-load name content)

Save and load a program string. Default to 'main' if no name is given.

Save and load a program string. Default to 'main' if no name is given.
sourceraw docstring

save-configsclj

(save-configs content)

Save configs for the local device. Should be a map. Return the configs.

Save configs for the local device. Should be a map. Return the
configs.
sourceraw docstring

set-programclj

(set-program content)
(set-program name content)

Insert the given string into the program file. Program file default to 'main' if not specified.

Insert the given string into the program file. Program file default
to 'main' if not specified.
sourceraw docstring

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

× close