Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/denoland/celld
/ functions
Functions
2,867 in github.com/denoland/celld
⨍
Functions
2,867
◇
Types & classes
485
↓ 220 callers
Method
get
Body and etag, or `None` when the key does not exist.
crates/celld/bucket.rs:123
↓ 186 callers
Method
push
(v)
crates/celld/js/node_stream.js:2043
↓ 168 callers
Method
clone
()
crates/celld/js/harness.js:345
↓ 121 callers
Method
is_empty
(&self)
crates/ltx/src/replica_url.rs:25
↓ 97 callers
Method
set
(name, value)
crates/celld/js/headers.js:81
↓ 84 callers
Method
slice
(start = 0, end = this.size, type = "")
crates/celld/js/harness.js:3683
↓ 83 callers
Method
send
(&self, job: WorkerJob)
crates/celld/lib.rs:97
↓ 66 callers
Method
join
(s)
crates/celld/js/node_stream.js:2084
↓ 64 callers
Function
from
(Readable, iterable, opts)
crates/celld/js/node_stream.js:2316
↓ 58 callers
Method
get
(self)
crates/ltx/src/lib.rs:142
↓ 57 callers
Method
as_str
(self)
crates/celld/control_plane.rs:112
↓ 49 callers
Method
contains
(&self, key: &str)
crates/ltx/src/replica_url.rs:38
↓ 35 callers
Method
from
(key)
crates/celld/js/node_crypto.js:520
↓ 34 callers
Function
open
Open (or replace) the connection for `scope`'s db file.
crates/celld/storage.rs:347
↓ 34 callers
Function
with
(scope: &str, f: impl FnOnce(&Connection) -> T)
crates/celld/storage.rs:405
↓ 31 callers
Method
execute
( &mut self, effect: Effect, immediate: &mut VecDeque<Event>, in_flight: &mut
crates/celld/main.rs:1361
↓ 31 callers
Method
path
The database file path. Ported from `DB.Path` (db.go:275).
crates/ltx/src/db.rs:291
↓ 30 callers
Method
get
(name)
crates/celld/js/harness.js:3849
↓ 27 callers
Method
parse
(url, base)
crates/celld/js/url.js:270
↓ 26 callers
Method
any
(signals)
crates/celld/js/harness.js:3593
↓ 25 callers
Function
ERR_INVALID_ARG_TYPE
(name, expected, actual)
crates/celld/js/node_crypto.js:120
↓ 25 callers
Method
next
()
crates/celld/js/harness.js:3872
↓ 25 callers
Method
set
(name, value, filename)
crates/celld/js/harness.js:3838
↓ 24 callers
Method
includes
(value, byteOffset, encoding)
crates/celld/js/node_buffer.js:476
↓ 24 callers
Function
read
()
crates/celld/js/harness.js:1737
↓ 24 callers
Method
status
(&self)
crates/celld/peer_auth.rs:73
↓ 23 callers
Function
drop
()
crates/celld/js/harness.js:1343
↓ 22 callers
Function
throw_storage_error
(scope: &mut v8::PinScope, operation: &str, error: impl std::fmt::Display)
crates/celld/js.rs:6078
↓ 21 callers
Method
decode
(input, options = {})
crates/celld/js/text_encoding.js:182
↓ 21 callers
Method
pos
The current replication position (cached; recomputed from the max L0 file). Ported from `DB.Pos` (db.go:392-425). Wraps fs/decode failures in `LTXErr
crates/ltx/src/db.rs:445
↓ 21 callers
Function
view_bytes
(value: v8::Local<v8::Value>)
crates/celld/js.rs:4406
↓ 20 callers
Function
debug
()
crates/celld/js/harness.js:371
↓ 20 callers
Method
indexOf
(value, byteOffset, encoding)
crates/celld/js/node_buffer.js:470
↓ 19 callers
Method
bytes
(&self)
crates/celld/deploy.rs:150
↓ 19 callers
Method
emit
(event, ...args)
crates/celld/js/node_events.js:564
↓ 19 callers
Method
sync
Copies pending data from the WAL into the next L0 LTX file and applies the checkpoint policy. Ported from `DB.Sync` (db.go:994-1056). The public entr
crates/ltx/src/db.rs:549
↓ 19 callers
Method
test
(input, baseURL)
crates/celld/js/url_pattern.js:71
↓ 18 callers
Method
get
(&self, key: &str)
crates/celld/storage.rs:1879
↓ 17 callers
Function
enqueue
Register an async op's future; returns its promise id. NOT spawned here — the region in `run_loop` owns spawning, so a task is never detached.
crates/celld/asyncrt.rs:91
↓ 17 callers
Method
op
(&mut self)
crates/logic/lib.rs:1398
↓ 17 callers
Function
promise_for
Create a JS promise for an async op `id` and return it to JS.
crates/celld/js.rs:2979
↓ 17 callers
Function
restore
Restores a database from `client` into `output_path`, optionally up to a target `txid` (`TXID(0)` = most recent state). Ported from `Replica.Restore`
crates/ltx/src/replica.rs:393
↓ 16 callers
Function
isArrayBufferView
(v)
crates/celld/js/node_util.js:87
↓ 16 callers
Function
open_dbs
Opens a managed `Db` plus a *separate* writer connection over the same file (the analog of testingutil.MustOpenDBs: the app writes through its own con
crates/ltx/src/db.rs:1384
↓ 16 callers
Method
shift
()
crates/celld/js/node_stream.js:2067
↓ 15 callers
Function
__bufType
(name, expected, value)
crates/celld/js/node_buffer.js:38
↓ 15 callers
Function
end_event_context
( scope: &mut v8::PinScope<'s, '_>, )
crates/celld/js.rs:7004
↓ 15 callers
Method
ltx_path
Local path of a single LTX file. Ported from `DB.LTXPath` (db.go:338). `pub` so the [`crate::replica::Replica`] can read the local L0 LTX files the c
crates/ltx/src/db.rs:324
↓ 15 callers
Method
path
(&self)
crates/celld/replication.rs:30
↓ 15 callers
Method
put
(&self, key: &str, body: impl Into<PutPayload>)
crates/celld/bucket.rs:147
↓ 15 callers
Function
resolve
(...args)
crates/celld/js/node_path.js:122
↓ 15 callers
Method
values
()
crates/celld/js/headers.js:102
↓ 14 callers
Method
addEventListener
(type, callback, options = {})
crates/celld/js/harness.js:3437
↓ 14 callers
Method
bind
(fn, thisArg)
crates/celld/js/node_async_hooks.js:90
↓ 14 callers
Method
has
(name)
crates/celld/js/harness.js:3856
↓ 14 callers
Function
isAnyArrayBuffer
(v)
crates/celld/js/node_crypto.js:218
↓ 14 callers
Method
prepare
(query)
crates/celld/js/harness.js:618
↓ 14 callers
Method
with_owner
Overrides the owner identity (default `hostname:pid`).
crates/ltx/src/leaser.rs:324
↓ 13 callers
Method
init
()
crates/celld/js.rs:1842
↓ 13 callers
Method
keys
()
crates/celld/js/headers.js:101
↓ 13 callers
Method
push
Write one chunk and return whatever output it produced. Decoded output flows per chunk; encoders hold theirs until a full buffer accumulates (matching
crates/celld/js.rs:4870
↓ 13 callers
Method
read
()
crates/celld/js/byte_streams.js:502
↓ 13 callers
Method
store
Get-or-build the inner store, once.
crates/ltx/src/client/object_store.rs:513
↓ 13 callers
Method
wal_path
Path to SQLite's WAL sidecar file (`<db>-wal`). Ported from `DB.WALPath` (db.go:287-289).
crates/ltx/src/db.rs:303
↓ 12 callers
Function
begin_event_context
(scope: &mut v8::PinScope<'s, '_>)
crates/celld/js.rs:6990
↓ 12 callers
Function
decode_file
Decodes and fully verifies an in-memory LTX file: header, LZ4-framed pages, page index, trailer, the CRC64-ISO file checksum, and — for snapshots — th
crates/ltx/src/ltx.rs:400
↓ 12 callers
Method
encode
(value)
crates/celld/js/harness.js:624
↓ 12 callers
Method
enqueue
(chunk)
crates/celld/js/streams.js:37
↓ 12 callers
Function
isNodeStream
(obj)
crates/celld/js/node_stream.js:639
↓ 12 callers
Method
parent
()
crates/celld/js/node_buffer.js:308
↓ 12 callers
Function
read_testdata
Loads a WAL test vector from the **read-only** upstream Go testdata tree (`reference/litestream-go/testdata/wal-reader/<name>/wal`). These are the exa
crates/ltx/src/wal.rs:597
↓ 12 callers
Method
request
(&self, cell: String)
crates/celld/main.rs:522
↓ 12 callers
Method
toString
()
crates/celld/js/url.js:257
↓ 12 callers
Function
write
(bucket: &Bucket, built: &Built)
crates/celld/deploy.rs:333
↓ 12 callers
Function
ws_registry
()
crates/celld/js.rs:697
↓ 11 callers
Method
abort
(reason = new DOMException("This operation was aborted", "AbortError"))
crates/celld/js/harness.js:3583
↓ 11 callers
Method
acquire_lease
Ported from `AcquireLease` (s3/leaser.go:90-136).
crates/ltx/src/leaser.rs:454
↓ 11 callers
Method
activity
(&self, request: u64, cell: String)
crates/celld/main.rs:594
↓ 11 callers
Method
exec
(query, ...binds)
crates/celld/js/harness.js:623
↓ 11 callers
Function
fn
(...args)
crates/celld/js/node_util.js:4097
↓ 11 callers
Function
formatValue
(ctx, value, recurseTimes, typedArray)
crates/celld/js/node_util.js:1663
↓ 11 callers
Method
json
()
crates/celld/js/harness.js:332
↓ 11 callers
Function
new_ltx_error
Creates a new [`LTXError`] with appropriate recovery hints based on the underlying error kind. Ported from `NewLTXError` in litestream@v0.5.11 litest
crates/ltx/src/error.rs:273
↓ 11 callers
Function
now_ms
()
crates/celld/ownership_store.rs:73
↓ 11 callers
Method
read_frame
Reads the next frame into `data` and returns `(pgno, commit)`. Returns [`WalError::Eof`] at the end of the valid WAL (including on a salt or checksum
crates/ltx/src/wal.rs:416
↓ 11 callers
Method
removeEventListener
(type, callback, options = {})
crates/celld/js/harness.js:3463
↓ 11 callers
Function
response
(status: StatusCode, body: impl Into<Bytes>)
crates/celld/main.rs:1956
↓ 11 callers
Method
sort
()
crates/celld/js/url_search_params.js:214
↓ 11 callers
Function
validateObject
(value, name, options = kValidateObjectNone)
crates/celld/js/node_util.js:416
↓ 10 callers
Method
_rebuildHref
()
crates/celld/js/url.js:227
↓ 10 callers
Method
checkpoint
Performs a checkpoint on the WAL. Ported from `DB.Checkpoint`/`DB.checkpoint` (db.go:1801-1873, footgun F-9). Two-phase: copy the WAL tail, `exec_che
crates/ltx/src/db.rs:1021
↓ 10 callers
Function
corrupt
(msg: impl Into<String>)
crates/ltx/src/ltx.rs:36
↓ 10 callers
Method
delete
(name)
crates/celld/js/harness.js:3857
↓ 10 callers
Function
encode_file
Encodes a complete LTX file from a header, an ordered set of pages, and the post-apply checksum. Mirrors encoder.go's layout; LZ4 framing uses lz4_fle
crates/ltx/src/ltx.rs:623
↓ 10 callers
Function
errInvalidArgType
(name, expected, actual)
crates/celld/js/node_events.js:28
↓ 10 callers
Method
list
Every object under `prefix/`; the client paginates internally.
crates/celld/bucket.rs:244
↓ 10 callers
Function
nodeErr
(Base, code, message)
crates/celld/js/node_crypto.js:110
↓ 10 callers
Function
parse
(path)
crates/celld/js/node_path.js:637
↓ 10 callers
Function
sql_critical_error
(scope: &str)
crates/celld/storage.rs:1642
↓ 9 callers
Function
ERR_METHOD_NOT_IMPLEMENTED
(name)
crates/celld/js/node_crypto.js:140
next →
1–100 of 2,867, ranked by callers