IAddon for the VS Code vessel. Construction is pure; initialize! starts the :json bridge, writes the discovery file the extension reads, builds the hive-vessel target and hands it to an injected :vessel/register-target-fn.
IAddon for the VS Code vessel. Construction is pure; initialize! starts the :json bridge, writes the discovery file the extension reads, builds the hive-vessel target and hands it to an injected :vessel/register-target-fn.
(addon-ctor config)hive-addon.mount constructor: config -> uninitialized IAddon.
hive-addon.mount constructor: config -> uninitialized IAddon.
(discovery-path xdg-runtime-dir)Discovery file for the VS Code vessel under XDG-RUNTIME-DIR (may be nil).
Discovery file for the VS Code vessel under XDG-RUNTIME-DIR (may be nil).
(make-addon)(make-addon seed)Uninitialized IAddon. No bridge, file or registry mutation occurs.
Uninitialized IAddon. No bridge, file or registry mutation occurs.
(target b)hive-vessel target executing :json natives through BRIDGE.
hive-vessel target executing :json natives through BRIDGE.
IAddon hook key: a zero-arg fn returning the current hive-vessel target, or nil before initialize! and after shutdown!.
IAddon hook key: a zero-arg fn returning the current hive-vessel target, or nil before initialize! and after shutdown!.
(vessel-target a)The hive-vessel target of an initialized ADDON, or nil.
The hive-vessel target of an initialized ADDON, or nil.
(write-private! path content)Atomically write CONTENT to PATH with mode 0600 inside a 0700 directory.
Atomically write CONTENT to PATH with mode 0600 inside a 0700 directory.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |