Liking cljdoc? Tell your friends :D

ambly.core


-mainclj

(-main)

Launches the Ambly REPL.

Launches the Ambly REPL.
sourceraw docstring

address-typeclj

(address-type ip-address)

Takes an IP address and returns a keyword in #{:ipv4 :ipv6} indicating the type of the address, or nil if the type could not be determined

Takes an IP address and returns a keyword in #{:ipv4 :ipv6}
indicating the type of the address, or nil if the type could not
be determined
sourceraw docstring

address-type->localhost-addressclj

(address-type->localhost-address address-type)

Given an address type, returns the localhost address.

Given an address type, returns the localhost address.
sourceraw docstring

ambly-bonjour-name-prefixclj

The prefix used in Ambly Bonjour service names.

The prefix used in Ambly Bonjour service names.
sourceraw docstring

bonjour-name->display-nameclj

(bonjour-name->display-name bonjour-name)

Converts an Ambly Bonjour service name to a display name (stripping off ambly-bonjour-name-prefix).

Converts an Ambly Bonjour service name to a display name
(stripping off ambly-bonjour-name-prefix).
sourceraw docstring

close-socketclj

(close-socket s)
source

create-http-urlclj

(create-http-url address port)

Takes an address and port and forms a URL.

Takes an address and port and forms a URL.
sourceraw docstring

discover-and-choose-deviceclj

(discover-and-choose-device choose-first-discovered? opts)

Looks for Ambly WebDAV devices advertised via Bonjour and presents a simple command-line UI letting user pick one, unless choose-first-discovered? is set to true in which case the UI is bypassed

Looks for Ambly WebDAV devices advertised via Bonjour and presents
a simple command-line UI letting user pick one, unless
choose-first-discovered? is set to true in which case the UI is bypassed
sourceraw docstring

extract-drive-letterclj

(extract-drive-letter output)

Takes the output from net use ... command and extracts the assigned drive letter.

Takes the output from `net use ...` command and extracts
the assigned drive letter.
sourceraw docstring

form-ambly-import-script-expr-jsclj

(form-ambly-import-script-expr-js path-expr)

Takes a JavaScript path expression and forms an AMBLY_IMPORT_SCRIPT command.

Takes a JavaScript path expression and forms an `AMBLY_IMPORT_SCRIPT` command.
sourceraw docstring

form-ambly-import-script-path-jsclj

(form-ambly-import-script-path-js path)

Takes a path and forms a JavaScript AMBLY_IMPORT_SCRIPT command.

Takes a path and forms a JavaScript `AMBLY_IMPORT_SCRIPT` command.
sourceraw docstring

getOsclj

(getOs)

Returns a keyword that represents the OS.

Returns a keyword that represents the OS.
sourceraw docstring

is-ambly-bonjour-name?clj

(is-ambly-bonjour-name? bonjour-name)
source

jsc-evalclj

(jsc-eval repl-env js)

Evaluate a JavaScript string in the JSC REPL process.

Evaluate a JavaScript string in the JSC REPL process.
sourceraw docstring

load-javascriptclj

(load-javascript repl-env provides url)

Load a Closure JavaScript file into the JSC REPL process.

Load a Closure JavaScript file into the JSC REPL process.
sourceraw docstring

local?clj

(local? ip-address)

Takes an IP address and returns a truthy value iff the address is local to the machine running this code.

Takes an IP address and returns a truthy value iff the address is local
to the machine running this code.
sourceraw docstring

mount-webdavcljmultimethod

Mounts WebDAV, returning the filesystem mount point, otherwise throwing upon failure.

Mounts WebDAV, returning the filesystem mount point,
otherwise throwing upon failure.
sourceraw docstring

name-endpoint-map->choice-listclj

(name-endpoint-map->choice-list name-endpoint-map)
source

not-conected-resultclj

source

(print-discovered-devices name-endpoint-map opts)
source

raw-stacktrace->canonical-stacktraceclj

(raw-stacktrace->canonical-stacktrace raw-stacktrace opts)

Parse a raw JSC stack representation, parsing it into stack frames. The canonical stacktrace must be a vector of maps of the form {:file <string> :function <string> :line <integer> :column <integer>}.

Parse a raw JSC stack representation, parsing it into stack frames.
The canonical stacktrace must be a vector of maps of the form
{:file <string> :function <string> :line <integer> :column <integer>}.
sourceraw docstring

read-messagesclj

(read-messages in response-promise opts)
source

repl-envclj

(repl-env & {:as options})

Ambly REPL environment.

Ambly REPL environment.
sourceraw docstring

repl-env*clj

(repl-env* options)
source

set-logging-levelclj

(set-logging-level logger-name level)
source

setupclj

(setup repl-env opts)
source

setup-mdnsclj

(setup-mdns reg-type name-endpoint-map)

Sets up mDNS to populate atom supplied in name-endpoint-map with discoveries. Returns a function that will tear down mDNS.

Sets up mDNS to populate atom supplied in name-endpoint-map with discoveries.
Returns a function that will tear down mDNS.
sourceraw docstring

shclj

(sh timeout timeout-return-value return-output? & args)

Executes a shell process. Allows up to timeout to complete, returning process exit code or process output. Otherwise forcibly terminates process and returns timeout-return-value.

Executes a shell process. Allows up to timeout to complete, returning process
exit code or process output. Otherwise forcibly terminates process and returns
timeout-return-value.
sourceraw docstring

socketclj

(socket host port)
source

source-uri->relative-pathclj

(source-uri->relative-path source-uri)

Takes a source URI and returns a relative path value suitable for inclusion in a canonical stack frame.

Takes a source URI and returns a relative path value suitable for inclusion
in a canonical stack frame.
sourceraw docstring

stack-line->canonical-frameclj

(stack-line->canonical-frame stack-line)

Parses a stack line into a frame representation, returning nil if parse failed.

Parses a stack line into a frame representation, returning nil
if parse failed.
sourceraw docstring

stacktrace->display-stringclj

(stacktrace->display-string stacktrace mapped-stacktrace output-dir)

Takes a stacktrace and forms a display string, consulting a mapped stacktrace and the output directory

Takes a stacktrace and forms a display string, consulting a mapped stacktrace
and the output directory
sourceraw docstring

start-reading-messagesclj

(start-reading-messages repl-env opts)

Starts a thread reading inbound messages.

Starts a thread reading inbound messages.
sourceraw docstring

tear-downclj

(tear-down repl-env)
source

umount-webdavcljmultimethod

Unmounts WebDAV, returning true upon success.

Unmounts WebDAV, returning true upon success.
sourceraw docstring

writeclj

(write out js)
source

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

× close