Liking cljdoc? Tell your friends :D

clj-docker-client.utils


format-idclj

(format-id id)

Return docker SHA256 ids in the standard length

Return docker SHA256 ids in the standard length
sourceraw docstring

id-lengthclj

source

sh-tokenize!clj

(sh-tokenize! command)

Tokenizes a shell command given as a string into the command and its args. Either returns a list of tokens or throws an IllegalStateException. This is used to parse the step commands received by Bob.

Sample input: sh -c 'while sleep 1; do echo "${RANDOM}"; done' Output: [sh, -c, while sleep 1; do echo "${RANDOM}"; done]

Tokenizes a shell command given as a string into the command and its args.
Either returns a list of tokens or throws an IllegalStateException.
This is used to parse the step commands received by Bob.

Sample input: sh -c 'while sleep 1; do echo \"${RANDOM}\"; done'
Output: [sh, -c, while sleep 1; do echo "${RANDOM}"; done]
sourceraw docstring

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

× close