Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DualHorizon/malbox
/ functions
Functions
2,140 in github.com/DualHorizon/malbox
⨍
Functions
2,140
◇
Types & classes
741
↓ 305 callers
Method
clone
(&self)
back-end/crates/malbox-plugin-sdk-python/src/types/result.rs:18
↓ 148 callers
Method
path
Resolve the on-disk path for a given SHA256 hash.
back-end/crates/malbox-utils/src/storage.rs:26
↓ 130 callers
Method
push
Push a log entry into the bus. Drops the oldest entry if at capacity. No-op if the bus is closed.
back-end/crates/malbox-plugin-sdk/src/log.rs:116
↓ 118 callers
Method
collect
(&self, ctx: &Context)
back-end/examples/plugins/guest-exec-checker/src/main.rs:29
↓ 94 callers
Method
apply
( input: Uint8Array, params: Record<string, string | number | boolean>, context?: TransformContext )
front-end/src/lib/transforms/types.ts:39
↓ 94 callers
Method
key
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:262
↓ 81 callers
Method
is_empty
Check if the queue is empty.
back-end/crates/malbox-scheduler/src/task/queue.rs:89
↓ 78 callers
Method
push
(toast: Omit<Toast, 'id' | 'ttlMs'>, ttlMs = 5000)
front-end/src/lib/stores/toasts.svelte.ts:18
↓ 69 callers
Method
as_str
(&self)
back-end/crates/malbox-plugin-internal/src/registry/types.rs:16
↓ 61 callers
Method
str
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:242
↓ 55 callers
Method
exists
Check whether a sample exists on disk.
back-end/crates/malbox-utils/src/storage.rs:38
↓ 52 callers
Method
len
Get the current number of tasks in the queue.
back-end/crates/malbox-scheduler/src/task/queue.rs:96
↓ 47 callers
Function
set_last_error
Store `msg` as the current thread-local error message. Any previously stored message is overwritten. The string is converted to a `CString`; if it c
back-end/crates/malbox-plugin-sdk-cpp/src/error.rs:23
↓ 46 callers
Method
ok
Construct a healthy status.
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/types.hpp:64
↓ 45 callers
Method
get
Fetch a single machine by ID.
back-end/crates/malbox-resources/src/pool.rs:78
↓ 45 callers
Method
into_response
(self)
back-end/crates/malbox-http/src/http/error.rs:69
↓ 43 callers
Method
len
(&self)
back-end/crates/malbox-plugin-internal/src/registry/snapshot.rs:62
↓ 36 callers
Method
find
(&self, name: &str)
back-end/crates/malbox-plugin-registry/src/index.rs:52
↓ 36 callers
Method
step_ctx
(self, step: Step, what: &str)
back-end/crates/malbox-installer/src/error.rs:90
↓ 35 callers
Method
send
Send a task request. Returns a handle to receive streamed responses. `header` contains task_id and request_type. `payload` is postcard-serialized Tas
back-end/crates/malbox-plugin-transport/src/ipc/tasks.rs:58
↓ 33 callers
Function
requestJson
( fetchFn: FetchLike, path: string, opts: RequestOptions = {} )
front-end/src/lib/api/client.ts:70
↓ 31 callers
Function
load
()
front-end/src/routes/+page.ts:5
↓ 28 callers
Method
register
(transform: TransformDefinition)
front-end/src/lib/transforms/registry.ts:12
↓ 27 callers
Method
step_completed
(&self, _step: &str, _detail: &str)
back-end/crates/malbox-installer/src/progress.rs:16
↓ 26 callers
Function
get
(ctx: &Context, args: GetArgs)
back-end/bin/malbox/src/commands/task.rs:149
↓ 26 callers
Method
step_started
(&self, _step: &str)
back-end/crates/malbox-installer/src/progress.rs:15
↓ 25 callers
Method
build_output
(&self, _line: &str)
back-end/crates/malbox-installer/src/progress.rs:19
↓ 24 callers
Method
empty
()
back-end/crates/malbox-plugin-registry/src/lockfile.rs:38
↓ 24 callers
Function
update_machine_status
Update the lifecycle status of a machine, with an optional error message.
back-end/crates/malbox-database/src/repositories/machinery.rs:190
↓ 23 callers
Method
run
( input: Uint8Array, steps: PipelineStep[], options?: PipelineOptions )
front-end/src/lib/transforms/pipeline.ts:47
↓ 23 callers
Method
take
Take the entry for `handle`, removing it from the map. The returned entry's file has **not** been deleted - the caller (typically `on_pull_result`) r
back-end/crates/malbox-plugin-sdk/src/stash.rs:145
↓ 22 callers
Method
json
Serialize a value as JSON and wrap it as a named result.
back-end/crates/malbox-plugin-sdk/src/result.rs:27
↓ 22 callers
Method
success
()
back-end/crates/malbox-cli-common/src/utils/format.rs:11
↓ 22 callers
Method
write
(&self, key: &str, content: &[u8], etag: Option<&str>)
back-end/crates/malbox-plugin-registry/src/client.rs:18
↓ 21 callers
Method
add_recovery_hints
(&self, step: &str, hints: &[&str])
back-end/bin/malbox/src/utils/install_renderer.rs:277
↓ 21 callers
Method
push
Push a single result back to the daemon. Small results (below the stash threshold) travel inline on the control stream. Large byte/JSON payloads are
back-end/crates/malbox-plugin-sdk/src/context/result_sink.rs:48
↓ 20 callers
Method
field_opt
(&mut self, label: &str, value: Option<impl std::fmt::Display>)
back-end/crates/malbox-cli-common/src/utils/format.rs:306
↓ 20 callers
Method
is_empty
(&self)
back-end/crates/malbox-plugin-internal/src/registry.rs:29
↓ 20 callers
Method
remove
(&self, task_id: i32)
back-end/crates/malbox-scheduler/src/task/cancel.rs:37
↓ 20 callers
Method
results
Get a [`ResultSink`] for pushing results back to the daemon.
back-end/crates/malbox-plugin-sdk/src/context.rs:100
↓ 19 callers
Method
create
Create a libvirt domain with a COW disk overlay. Defines the domain in libvirt but does **not** boot it. Call [`start`] to boot.
back-end/crates/malbox-provider-libvirt/src/capabilities/allocate.rs:15
↓ 19 callers
Method
get
(&self, id: &PluginId)
back-end/crates/malbox-plugin-internal/src/registry/snapshot.rs:38
↓ 19 callers
Method
get
(id: string)
front-end/src/lib/transforms/registry.ts:24
↓ 19 callers
Method
send
Queue a command and wake the reactor thread.
back-end/crates/malbox-plugin-internal/src/manager/ipc_reactor.rs:80
↓ 19 callers
Method
store
Store sample bytes at the content-addressed path. Idempotent: if a file with this hash already exists, the write is skipped. Atomic: writes to a temp
back-end/crates/malbox-utils/src/storage.rs:47
↓ 18 callers
Method
block
Escape hatch - push any [`Block`] directly.
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:217
↓ 18 callers
Method
field
(&mut self, label: &str, value: impl std::fmt::Display)
back-end/crates/malbox-cli-common/src/utils/format.rs:301
↓ 18 callers
Method
section
Append a section. The closure receives a [`SectionBuilder`] and returns it - the typical shape is `|s| s.heading(2, "...").table(...)`.
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:163
↓ 18 callers
Method
try_recv
Non-blocking receive of the next response chunk. Returns None if no response is available yet.
back-end/crates/malbox-plugin-transport/src/ipc/tasks.rs:90
↓ 18 callers
Method
update_task_state
Update the state of a task both in memory and database.
back-end/crates/malbox-scheduler/src/task/store.rs:64
↓ 17 callers
Function
router
()
back-end/crates/malbox-http/src/http/images.rs:14
↓ 16 callers
Method
build
Finalize and return the [`Report`]. Merges any pending labels into the verdict.
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:183
↓ 16 callers
Method
check_response
Check a response for API-level errors (4xx/5xx with JSON body). Returns the response unchanged if status is success.
back-end/crates/malbox-cli-common/src/api.rs:35
↓ 16 callers
Function
error
(msg: impl std::fmt::Display)
back-end/crates/malbox-cli-common/src/utils/format.rs:338
↓ 16 callers
Function
makeTransform
( id: string, provenance: 'builtin' | 'ui-managed' | 'git-synced' = 'builtin' )
front-end/src/lib/transforms/__tests__/registry.test.ts:5
↓ 16 callers
Method
snapshot
Get the Snapshot capability if available.
back-end/crates/malbox-machinery/src/provider.rs:75
↓ 16 callers
Method
url
(&self, path: &str)
back-end/crates/malbox-cli-common/src/api.rs:29
↓ 15 callers
Function
bytes
(size: i64)
back-end/crates/malbox-cli-common/src/utils/format.rs:364
↓ 15 callers
Function
ctx_from_ptr
(ptr: *const (), valid: &AtomicBool)
back-end/crates/malbox-plugin-sdk-python/src/types/context.rs:11
↓ 14 callers
Method
begin_obj
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:249
↓ 14 callers
Method
connection
Get the libvirt connection.
back-end/crates/malbox-provider-libvirt/src/lib.rs:115
↓ 14 callers
Method
end_obj
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:250
↓ 14 callers
Function
event_roundtrip
(event: Event)
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_events/convert.rs:173
↓ 14 callers
Method
markdown
Add a markdown text block.
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:223
↓ 14 callers
Method
save
(&self, path: &Path)
back-end/crates/malbox-installer/src/manifest.rs:86
↓ 13 callers
Function
check_rc
Check a return code from a Malbox C API function. Throws malbox::Error (with message retrieved from malbox_last_error) if rc < 0.
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/error.hpp:43
↓ 13 callers
Method
indicator
Add an indicator of compromise to the report's semantic layer.
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:144
↓ 13 callers
Function
make_entry
(msg: &str, level: LogLevel)
back-end/crates/malbox-plugin-sdk/src/log.rs:263
↓ 13 callers
Function
textToBytes
(s: string)
front-end/src/lib/transforms/__tests__/builtin/encoding.test.ts:14
↓ 13 callers
Function
write_arr
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:357
↓ 12 callers
Function
clear_last_error
Clear the current thread-local error message. After this call [`malbox_last_error`] will return `-1` (no error).
back-end/crates/malbox-plugin-sdk-cpp/src/error.rs:35
↓ 12 callers
Method
emit_task_event
Emit a task IPC event, logging errors but not propagating them.
back-end/crates/malbox-scheduler/src/worker.rs:1296
↓ 12 callers
Method
from
(s: SampleEntity)
back-end/crates/malbox-http/src/http/dto.rs:33
↓ 12 callers
Method
next
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/report.hpp:258
↓ 12 callers
Function
simple_event
Helper to create a MalboxEvent with null string pointers (most events).
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_events/convert.rs:8
↓ 11 callers
Function
bytesToText
(b: Uint8Array)
front-end/src/lib/transforms/__tests__/pipeline.test.ts:11
↓ 11 callers
Method
print
(&self)
back-end/crates/malbox-cli-common/src/utils/format.rs:200
↓ 11 callers
Method
read
(&self, key: &str)
back-end/crates/malbox-plugin-registry/src/client.rs:34
↓ 10 callers
Method
default
()
back-end/crates/malbox-config/src/cli.rs:23
↓ 10 callers
Function
display_json
(val: &serde_json::Value)
back-end/crates/malbox-cli-common/src/utils/format.rs:161
↓ 10 callers
Method
drain
Drain all buffered entries and return them.
back-end/crates/malbox-plugin-sdk/src/log.rs:139
↓ 10 callers
Function
empty
(msg: impl std::fmt::Display)
back-end/crates/malbox-cli-common/src/utils/format.rs:343
↓ 10 callers
Function
isApiError
(err: unknown)
front-end/src/lib/api/errors.ts:40
↓ 10 callers
Function
last_error_string
Retrieve the last error message as a Rust `String`, if one is set.
back-end/crates/malbox-plugin-sdk-cpp/src/error.rs:56
↓ 10 callers
Function
malbox_theme
()
back-end/crates/malbox-cli-common/src/utils/format.rs:382
↓ 10 callers
Method
progress
Report execution progress (0.0 to 1.0) with a status message. Progress updates are streamed to the daemon in real-time and can be shown in the UI. Th
back-end/crates/malbox-plugin-sdk/src/context.rs:116
↓ 10 callers
Method
push
Push a single PluginResult to the daemon.
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/context.hpp:182
↓ 10 callers
Method
snapshot
Get the current plugin snapshot. Cheap (Arc clone).
back-end/crates/malbox-plugin-internal/src/registry.rs:72
↓ 10 callers
Method
step_failed
(&self, _step: &str, _error: &str)
back-end/crates/malbox-installer/src/progress.rs:17
↓ 10 callers
Function
textToBytes
(s: string)
front-end/src/lib/transforms/__tests__/auto-detect.test.ts:7
↓ 10 callers
Function
textToBytes
(s: string)
front-end/src/lib/transforms/__tests__/pipeline.test.ts:7
↓ 9 callers
Method
add
Enable a provider. Returns `false` when it was already enabled. The first enabled provider becomes the default.
back-end/bin/malbox/src/utils/provider_config.rs:61
↓ 9 callers
Function
bytesToText
(b: Uint8Array)
front-end/src/lib/transforms/__tests__/builtin/hashes.test.ts:8
↓ 9 callers
Function
ctx_ptr
(ctx: &Context)
back-end/crates/malbox-plugin-sdk-cpp/src/ffi_task.rs:325
↓ 9 callers
Method
emit_signal
Emit a signal-only event (no payload).
back-end/crates/malbox-plugin-transport/src/ipc/events.rs:151
↓ 9 callers
Function
execute
( config_dir: &Path, providers: &[String], postgres_url: &str, web_dir: &Path, observer: &
back-end/crates/malbox-installer/src/steps/config.rs:7
↓ 9 callers
Function
faviconUrl
(urlTemplate: string)
front-end/src/lib/stores/lookupProviders.svelte.ts:8
↓ 9 callers
Method
flush
Flush a batch of PluginResult objects to the daemon.
back-end/crates/malbox-plugin-sdk-cpp/include/malbox/context.hpp:214
↓ 9 callers
Method
heading
Add a heading (level 1-6, maps to HTML heading levels).
back-end/crates/malbox-plugin-sdk/src/report/builder.rs:236
↓ 9 callers
Function
looksLikeHash
(value: string)
front-end/src/lib/api/submission.ts:10
next →
1–100 of 2,140, ranked by callers