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
↓ 3 callers
Function
inspect
(v)
crates/celld/js/node_stream.js:107
↓ 3 callers
Method
invalidate_remote
(&self, cell: String, node: String, epoch: u64)
crates/celld/main.rs:690
↓ 3 callers
Method
isEncoding
(enc)
crates/celld/js/node_buffer.js:242
↓ 3 callers
Function
isObj
(v)
crates/celld/js/node_assert.js:8
↓ 3 callers
Function
isReadableFinished
(stream, strict)
crates/celld/js/node_stream.js:729
↓ 3 callers
Method
is_snapshot
True if this header begins a complete database snapshot (MinTXID == 1).
crates/ltx/src/ltx.rs:143
↓ 3 callers
Function
keep_newest
The keep-newest invariant shared by every retention path: if the last file marked for deletion is the newest file overall, un-mark it so at least one
crates/ltx/src/store.rs:30
↓ 3 callers
Method
keys
()
crates/celld/js/harness.js:3882
↓ 3 callers
Method
lastIndexOf
(value, byteOffset, encoding)
crates/celld/js/node_buffer.js:473
↓ 3 callers
Function
lazyWebStreams
()
crates/celld/js/node_stream.js:3405
↓ 3 callers
Method
lazy_node_lease_spec
(&self)
crates/logic/lib.rs:2504
↓ 3 callers
Function
litestream_replicate
Drives the REAL binary's write path over `workload()`: seeds WAL mode, then for each statement-group writes via plain `sqlite3` and runs `litestream r
crates/ltx/tests/differential_xtool.rs:212
↓ 3 callers
Function
litestream_restore
Runs the real `litestream restore -o <out> <file-url>` for a replica tree.
crates/ltx/tests/differential_xtool.rs:247
↓ 3 callers
Method
lock_key
Builds the lock-object key: `lock.json` when `path` is empty, else `<path>/lock.json`. Ported byte-for-byte from `lockKey` (s3/leaser.go:83-88).
crates/ltx/src/leaser.rs:341
↓ 3 callers
Method
ltx_key
Build the S3 key for an LTX file: `{path}/{level:04x}/{min}-{max}.ltx`. Ported from s3/replica_client.go:629, 677, 1040-1042.
crates/ltx/src/client/object_store.rs:521
↓ 3 callers
Function
make_client
(path: String)
crates/ltx/tests/integration_minio.rs:90
↓ 3 callers
Function
map_os_error
Map an `object_store::Error` to `crate::Error`, preserving NotFound as `io::ErrorKind::NotFound` so callers keep working with the std error kind. Mirr
crates/ltx/src/client/object_store.rs:542
↓ 3 callers
Method
matches
(&self, host: Option<&str>, path: &str)
crates/celld/assets.rs:603
↓ 3 callers
Function
maybeReadMore
(stream, state)
crates/celld/js/node_stream.js:2812
↓ 3 callers
Function
minio_reachable
`true` if a TCP connection to the MinIO endpoint succeeds within a short timeout. Used to decide skip-vs-run without blocking.
crates/ltx/tests/integration_minio.rs:65
↓ 3 callers
Function
next_do_request_id
()
crates/celld/js.rs:262
↓ 3 callers
Function
op_handle
()
crates/celld/asyncrt.rs:81
↓ 3 callers
Method
open
`app` labels this client's traffic in the User-Agent (the aws AppName format, `app/<name>`), keeping e.g. the lease safety lane observable in black-bo
crates/celld/bucket.rs:62
↓ 3 callers
Method
open_ltx_file
( &self, l: i32, mn: TXID, mx: TXID, o: i64,
crates/ltx/src/replica.rs:1199
↓ 3 callers
Function
open_writer
Opens an application writer connection in WAL mode (the host's own handle).
crates/ltx/tests/integration_resilience.rs:68
↓ 3 callers
Method
page_map
Reads all committed frames to end-of-file and returns a map of page number → byte offset of the latest committed version of that page, the max offset
crates/ltx/src/wal.rs:496
↓ 3 callers
Function
parse_filename
Parses a `<min>-<max>.ltx` filename (ltx.go:450-459).
crates/ltx/src/ltx.rs:332
↓ 3 callers
Function
parse_host
Parse an S3 host into `(bucket, region, endpoint, force_path_style)`. Direct port of `ParseHost` (s3/replica_client.go:1608-1652): MinIO-style `bucke
crates/ltx/src/client/object_store.rs:327
↓ 3 callers
Function
path_clean
Lexically cleans a slash-separated path. A faithful port of `Clean` in the Go standard library `path` package (`go/src/path/path.go`, `func Clean`).
crates/ltx/src/lib.rs:382
↓ 3 callers
Function
path_join
Joins any number of path elements into a single slash-separated path, cleaning the result. A faithful port of `Join` in the Go standard library `path
crates/ltx/src/lib.rs:481
↓ 3 callers
Method
port
()
crates/celld/js/url.js:153
↓ 3 callers
Function
queue_serialized_puts
(scope: &mut v8::PinScope, cell: String, entries: Vec<(String, Vec<u8>)>)
crates/celld/js.rs:5453
↓ 3 callers
Function
randomFillSync
(buffer, offset, size)
crates/celld/js/node_crypto.js:881
↓ 3 callers
Method
read
()
crates/celld/js/streams.js:122
↓ 3 callers
Method
read_at
Reads `n` bytes at absolute `offset`, returning `None` (the `io.EOF` case) when fewer than `n` bytes are available — exactly the behavior of Go's `io.
crates/ltx/src/wal.rs:353
↓ 3 callers
Method
read_header
Reads and validates the WAL header into `self`. Ported from `readHeader` in litestream@v0.5.11 wal_reader.go:90-129.
crates/ltx/src/wal.rs:368
↓ 3 callers
Function
reduceToSingleString
(ctx, output, base, braces, extrasType, recurseTimes, value)
crates/celld/js/node_util.js:2889
↓ 3 callers
Function
regular_ws_counts
()
crates/celld/js.rs:700
↓ 3 callers
Method
release_or_fence_node_lease
(&mut self, held: HeldNodeLease, effects: &mut Vec<Effect>)
crates/logic/lib.rs:1882
↓ 3 callers
Method
release_read_lock
Rolls back the long-running read transaction. Ported from `releaseReadLock` (db.go:979-992). Uses the `rollback` helper semantics: a "no transaction
crates/ltx/src/db.rs:366
↓ 3 callers
Function
request_payload
( request: Request<Incoming>, )
crates/celld/main.rs:2551
↓ 3 callers
Function
resetBuffer
(state)
crates/celld/js/node_stream.js:3520
↓ 3 callers
Method
restore
Restores the database from this replica's client into `output_path`. Convenience wrapper over [`restore`] using this replica's client and the most-re
crates/ltx/src/replica.rs:316
↓ 3 callers
Method
rpc
( &self, cell: String, name: Option<String>, method: String, args: js:
crates/celld/runtime.rs:854
↓ 3 callers
Function
run_litestream
Runs `litestream <args...>`, asserting success and surfacing stderr on failure.
crates/ltx/tests/differential_xtool.rs:232
↓ 3 callers
Function
run_loop_then
Drive a promise and apply `on_fulfilled` as soon as it settles. The callback may return a composite waitUntil promise after publishing its response. T
crates/celld/js.rs:961
↓ 3 callers
Function
runtime_response
(worker_response: celld::js::HttpResponse)
crates/celld/main.rs:1980
↓ 3 callers
Method
schedule_alarm_timer
( &self, cell: &str, generation: u64, at_ms: i64, now_ms: u64,
crates/logic/lib.rs:2245
↓ 3 callers
Method
seed_pos
Seed the replicated position from the caller's known-durable state and mark it known, so the next sync skips the `calc_pos` listing. A fresh cell seed
crates/ltx/src/replica.rs:172
↓ 3 callers
Method
shed_candidate
The cell to shed right now: resident, idle, not holding an alarm the node still owes, and the least recently used of those. Demand shedding and pressu
crates/logic/lib.rs:3500
↓ 3 callers
Method
source
(&self)
crates/ltx/src/error.rs:106
↓ 3 callers
Function
stored_value
(value: rusqlite::types::ValueRef<'_>)
crates/celld/storage.rs:497
↓ 3 callers
Function
toInput
(v)
crates/celld/js/url_pattern.js:19
↓ 3 callers
Method
ttl
Returns the remaining time until expiry, or `None` once expired. Ported from `Lease.TTL` (leaser.go:42-44): `time.Until(ExpiresAt)`. Go returns a *ne
crates/ltx/src/leaser.rs:252
↓ 3 callers
Function
u64_be
(b: &[u8])
crates/ltx/src/ltx.rs:712
↓ 3 callers
Function
unique_path
A unique path prefix per test run so concurrent / repeated runs don't collide and the suite always starts from a clean slate (it `delete_all`s first).
crates/ltx/tests/integration_minio.rs:82
↓ 3 callers
Function
unix_now_ms
()
crates/celld/js.rs:1512
↓ 3 callers
Function
unpipe
()
crates/celld/js/node_stream.js:2944
↓ 3 callers
Function
url_err
(msg: impl Into<String>)
crates/ltx/src/replica_url.rs:13
↓ 3 callers
Method
validate
The head_bucket replacement: prove the bucket is reachable and the credential is accepted with one list page.
crates/celld/bucket.rs:284
↓ 3 callers
Function
validateFunction
(value, name)
crates/celld/js/node_events.js:50
↓ 3 callers
Function
validateOneOf
(value, name, oneOf)
crates/celld/js/node_crypto.js:204
↓ 3 callers
Function
validateSignal
(signal, name)
crates/celld/js/node_events.js:54
↓ 3 callers
Function
validateString
(value, name)
crates/celld/js/node_util.js:472
↓ 3 callers
Function
validate_bucket
(bucket: &Bucket)
crates/celld/fleet.rs:58
↓ 3 callers
Function
validate_identity
(value: &str)
crates/celld/peer_auth.rs:325
↓ 3 callers
Method
wal_file_size
Size of the WAL file in bytes, 0 if absent. Ported from `walFileSize` (db.go:1183-1191).
crates/ltx/src/db.rs:397
↓ 3 callers
Method
websocket_opened
( &self, cell: String, websocket: u64, kind: WebSocketKind, )
crates/celld/main.rs:651
↓ 3 callers
Function
with_batch_savepoint
( connection: &Connection, callback: impl FnOnce(&Connection) -> anyhow::Result<T>, )
crates/celld/storage.rs:417
↓ 3 callers
Function
wrap_stored
( scope: &mut v8::PinScope<'s, '_>, sentinel: v8::Local<v8::Value>, value: v8::Local<v8::Value>, )
crates/celld/js.rs:5986
↓ 3 callers
Function
write_position
The cell's committed-write position: SQLite's total completed row changes on this connection, monotonic for the life of the activation. The output gat
crates/celld/storage.rs:484
↓ 3 callers
Function
ws_pull
()
crates/celld/js.rs:595
↓ 2 callers
Function
ArrayPrototypeIncludes
(self2, el)
crates/celld/js/node_stream.js:246
↓ 2 callers
Function
ArrayPrototypeJoin
(self2, sep)
crates/celld/js/node_stream.js:252
↓ 2 callers
Function
ArrayPrototypeSlice
(self2, start, end)
crates/celld/js/node_stream.js:264
↓ 2 callers
Function
FunctionPrototypeSymbolHasInstance
(self2, instance)
crates/celld/js/node_stream.js:271
↓ 2 callers
Function
ObjectDefineProperty
(self2, name, prop)
crates/celld/js/node_stream.js:284
↓ 2 callers
Function
PromisePrototypeThen
(self2, thenFn, catchFn)
crates/celld/js/node_stream.js:300
↓ 2 callers
Function
TypedArrayPrototypeSet
(self2, buf, len)
crates/celld/js/node_stream.js:328
↓ 2 callers
Function
__abortSignal
(signal, reason)
crates/celld/js/harness.js:1133
↓ 2 callers
Function
__actorBreak
(scope, reason)
crates/celld/js/harness.js:1668
↓ 2 callers
Function
__adoptBody
(target, bytes)
crates/celld/js/harness.js:1953
↓ 2 callers
Function
__attachResponseRequestCancellation
( response, requestController, wrapBody, )
crates/celld/js/harness.js:2814
↓ 2 callers
Function
__awaitCancellableDoCall
(operation, signal)
crates/celld/js/harness.js:1191
↓ 2 callers
Function
__bufSearch
(buf, value, byteOffset, encoding, last)
crates/celld/js/node_buffer.js:506
↓ 2 callers
Function
__checkNum
(name, value, min, max)
crates/celld/js/node_buffer.js:46
↓ 2 callers
Function
__chunkBytes
(chunk)
crates/celld/js/harness.js:14
↓ 2 callers
Function
__ctxAbort
(id, reason)
crates/celld/js/harness.js:1613
↓ 2 callers
Function
__ctxEnd
(id)
crates/celld/js/harness.js:1607
↓ 2 callers
Function
__ctxExports
()
crates/celld/js/harness.js:2542
↓ 2 callers
Function
__ctxRegister
(meta)
crates/celld/js/harness.js:1593
↓ 2 callers
Function
__drainBody
(target)
crates/celld/js/harness.js:71
↓ 2 callers
Function
__entrypointInstance
(name)
crates/celld/js/harness.js:2998
↓ 2 callers
Function
__entrypointOp
(name, path, argsSc, local, makeInst)
crates/celld/js/harness.js:3092
↓ 2 callers
Function
__entrypointSession
(name, local, script, makeInst)
crates/celld/js/harness.js:2291
↓ 2 callers
Function
__entrypointStub
(name, props)
crates/celld/js/harness.js:2387
↓ 2 callers
Function
__formDataValue
(value, filename)
crates/celld/js/harness.js:3819
↓ 2 callers
Function
__iterableBody
(body)
crates/celld/js/harness.js:29
↓ 2 callers
Function
__liftStream
(v)
crates/celld/js/harness.js:1775
↓ 2 callers
Function
__makeStub
(entry, callable)
crates/celld/js/harness.js:2358
← previous
next →
401–500 of 2,867, ranked by callers