MCPcopy Create free account

hub / github.com/denoland/celld / functions

Functions2,867 in github.com/denoland/celld

↓ 220 callersMethodget
Body and etag, or `None` when the key does not exist.
crates/celld/bucket.rs:123
↓ 186 callersMethodpush
(v)
crates/celld/js/node_stream.js:2043
↓ 168 callersMethodclone
()
crates/celld/js/harness.js:345
↓ 121 callersMethodis_empty
(&self)
crates/ltx/src/replica_url.rs:25
↓ 97 callersMethodset
(name, value)
crates/celld/js/headers.js:81
↓ 84 callersMethodslice
(start = 0, end = this.size, type = "")
crates/celld/js/harness.js:3683
↓ 83 callersMethodsend
(&self, job: WorkerJob)
crates/celld/lib.rs:97
↓ 66 callersMethodjoin
(s)
crates/celld/js/node_stream.js:2084
↓ 64 callersFunctionfrom
(Readable, iterable, opts)
crates/celld/js/node_stream.js:2316
↓ 58 callersMethodget
(self)
crates/ltx/src/lib.rs:142
↓ 57 callersMethodas_str
(self)
crates/celld/control_plane.rs:112
↓ 49 callersMethodcontains
(&self, key: &str)
crates/ltx/src/replica_url.rs:38
↓ 35 callersMethodfrom
(key)
crates/celld/js/node_crypto.js:520
↓ 34 callersFunctionopen
Open (or replace) the connection for `scope`'s db file.
crates/celld/storage.rs:347
↓ 34 callersFunctionwith
(scope: &str, f: impl FnOnce(&Connection) -> T)
crates/celld/storage.rs:405
↓ 31 callersMethodexecute
( &mut self, effect: Effect, immediate: &mut VecDeque<Event>, in_flight: &mut
crates/celld/main.rs:1361
↓ 31 callersMethodpath
The database file path. Ported from `DB.Path` (db.go:275).
crates/ltx/src/db.rs:291
↓ 30 callersMethodget
(name)
crates/celld/js/harness.js:3849
↓ 27 callersMethodparse
(url, base)
crates/celld/js/url.js:270
↓ 26 callersMethodany
(signals)
crates/celld/js/harness.js:3593
↓ 25 callersFunctionERR_INVALID_ARG_TYPE
(name, expected, actual)
crates/celld/js/node_crypto.js:120
↓ 25 callersMethodnext
()
crates/celld/js/harness.js:3872
↓ 25 callersMethodset
(name, value, filename)
crates/celld/js/harness.js:3838
↓ 24 callersMethodincludes
(value, byteOffset, encoding)
crates/celld/js/node_buffer.js:476
↓ 24 callersFunctionread
()
crates/celld/js/harness.js:1737
↓ 24 callersMethodstatus
(&self)
crates/celld/peer_auth.rs:73
↓ 23 callersFunctiondrop
()
crates/celld/js/harness.js:1343
↓ 22 callersFunctionthrow_storage_error
(scope: &mut v8::PinScope, operation: &str, error: impl std::fmt::Display)
crates/celld/js.rs:6078
↓ 21 callersMethoddecode
(input, options = {})
crates/celld/js/text_encoding.js:182
↓ 21 callersMethodpos
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 callersFunctionview_bytes
(value: v8::Local<v8::Value>)
crates/celld/js.rs:4406
↓ 20 callersFunctiondebug
()
crates/celld/js/harness.js:371
↓ 20 callersMethodindexOf
(value, byteOffset, encoding)
crates/celld/js/node_buffer.js:470
↓ 19 callersMethodbytes
(&self)
crates/celld/deploy.rs:150
↓ 19 callersMethodemit
(event, ...args)
crates/celld/js/node_events.js:564
↓ 19 callersMethodsync
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 callersMethodtest
(input, baseURL)
crates/celld/js/url_pattern.js:71
↓ 18 callersMethodget
(&self, key: &str)
crates/celld/storage.rs:1879
↓ 17 callersFunctionenqueue
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 callersMethodop
(&mut self)
crates/logic/lib.rs:1398
↓ 17 callersFunctionpromise_for
Create a JS promise for an async op `id` and return it to JS.
crates/celld/js.rs:2979
↓ 17 callersFunctionrestore
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 callersFunctionisArrayBufferView
(v)
crates/celld/js/node_util.js:87
↓ 16 callersFunctionopen_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 callersMethodshift
()
crates/celld/js/node_stream.js:2067
↓ 15 callersFunction__bufType
(name, expected, value)
crates/celld/js/node_buffer.js:38
↓ 15 callersFunctionend_event_context
( scope: &mut v8::PinScope<'s, '_>, )
crates/celld/js.rs:7004
↓ 15 callersMethodltx_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 callersMethodpath
(&self)
crates/celld/replication.rs:30
↓ 15 callersMethodput
(&self, key: &str, body: impl Into<PutPayload>)
crates/celld/bucket.rs:147
↓ 15 callersFunctionresolve
(...args)
crates/celld/js/node_path.js:122
↓ 15 callersMethodvalues
()
crates/celld/js/headers.js:102
↓ 14 callersMethodaddEventListener
(type, callback, options = {})
crates/celld/js/harness.js:3437
↓ 14 callersMethodbind
(fn, thisArg)
crates/celld/js/node_async_hooks.js:90
↓ 14 callersMethodhas
(name)
crates/celld/js/harness.js:3856
↓ 14 callersFunctionisAnyArrayBuffer
(v)
crates/celld/js/node_crypto.js:218
↓ 14 callersMethodprepare
(query)
crates/celld/js/harness.js:618
↓ 14 callersMethodwith_owner
Overrides the owner identity (default `hostname:pid`).
crates/ltx/src/leaser.rs:324
↓ 13 callersMethodinit
()
crates/celld/js.rs:1842
↓ 13 callersMethodkeys
()
crates/celld/js/headers.js:101
↓ 13 callersMethodpush
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 callersMethodread
()
crates/celld/js/byte_streams.js:502
↓ 13 callersMethodstore
Get-or-build the inner store, once.
crates/ltx/src/client/object_store.rs:513
↓ 13 callersMethodwal_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 callersFunctionbegin_event_context
(scope: &mut v8::PinScope<'s, '_>)
crates/celld/js.rs:6990
↓ 12 callersFunctiondecode_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 callersMethodencode
(value)
crates/celld/js/harness.js:624
↓ 12 callersMethodenqueue
(chunk)
crates/celld/js/streams.js:37
↓ 12 callersFunctionisNodeStream
(obj)
crates/celld/js/node_stream.js:639
↓ 12 callersMethodparent
()
crates/celld/js/node_buffer.js:308
↓ 12 callersFunctionread_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 callersMethodrequest
(&self, cell: String)
crates/celld/main.rs:522
↓ 12 callersMethodtoString
()
crates/celld/js/url.js:257
↓ 12 callersFunctionwrite
(bucket: &Bucket, built: &Built)
crates/celld/deploy.rs:333
↓ 12 callersFunctionws_registry
()
crates/celld/js.rs:697
↓ 11 callersMethodabort
(reason = new DOMException("This operation was aborted", "AbortError"))
crates/celld/js/harness.js:3583
↓ 11 callersMethodacquire_lease
Ported from `AcquireLease` (s3/leaser.go:90-136).
crates/ltx/src/leaser.rs:454
↓ 11 callersMethodactivity
(&self, request: u64, cell: String)
crates/celld/main.rs:594
↓ 11 callersMethodexec
(query, ...binds)
crates/celld/js/harness.js:623
↓ 11 callersFunctionfn
(...args)
crates/celld/js/node_util.js:4097
↓ 11 callersFunctionformatValue
(ctx, value, recurseTimes, typedArray)
crates/celld/js/node_util.js:1663
↓ 11 callersMethodjson
()
crates/celld/js/harness.js:332
↓ 11 callersFunctionnew_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 callersFunctionnow_ms
()
crates/celld/ownership_store.rs:73
↓ 11 callersMethodread_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 callersMethodremoveEventListener
(type, callback, options = {})
crates/celld/js/harness.js:3463
↓ 11 callersFunctionresponse
(status: StatusCode, body: impl Into<Bytes>)
crates/celld/main.rs:1956
↓ 11 callersMethodsort
()
crates/celld/js/url_search_params.js:214
↓ 11 callersFunctionvalidateObject
(value, name, options = kValidateObjectNone)
crates/celld/js/node_util.js:416
↓ 10 callersMethod_rebuildHref
()
crates/celld/js/url.js:227
↓ 10 callersMethodcheckpoint
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 callersFunctioncorrupt
(msg: impl Into<String>)
crates/ltx/src/ltx.rs:36
↓ 10 callersMethoddelete
(name)
crates/celld/js/harness.js:3857
↓ 10 callersFunctionencode_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 callersFunctionerrInvalidArgType
(name, expected, actual)
crates/celld/js/node_events.js:28
↓ 10 callersMethodlist
Every object under `prefix/`; the client paginates internally.
crates/celld/bucket.rs:244
↓ 10 callersFunctionnodeErr
(Base, code, message)
crates/celld/js/node_crypto.js:110
↓ 10 callersFunctionparse
(path)
crates/celld/js/node_path.js:637
↓ 10 callersFunctionsql_critical_error
(scope: &str)
crates/celld/storage.rs:1642
↓ 9 callersFunctionERR_METHOD_NOT_IMPLEMENTED
(name)
crates/celld/js/node_crypto.js:140
next →1–100 of 2,867, ranked by callers