Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ functions
Functions
26,840 in github.com/atomicdotdev/atomic
⨍
Functions
26,840
◇
Types & classes
2,839
↓ 106 callers
Method
cmp
(&self, other: &Self)
atomic-core/src/crdt/apply/order.rs:241
↓ 106 callers
Method
len
Get the number of operations.
atomic-core/src/diff/ops.rs:425
↓ 106 callers
Method
record
This is the main entry point for creating a change from working copy modifications. It detects changes, creates hunks, globalizes positions, and assem
atomic-repository/src/repository/record.rs:2000
↓ 106 callers
Method
resolve
Resolve a request's RepositoryRef to its handle. Unknown IDs fail closed (REPOSITORY_NOT_FOUND) — never a filesystem fallback.
libatomic/src/daemon/state.rs:331
↓ 103 callers
Function
domain_status
A domain refusal as a gRPC status carrying the contract's stable machine-readable ErrorInfo detail.
libatomic/src/daemon/state.rs:389
↓ 103 callers
Method
load_change
Load a change from the repository. If the change is in the cache, it's returned directly. Otherwise, it's loaded from disk, verified, and cached. #
atomic-repository/src/repository/changes.rs:404
↓ 102 callers
Method
begin_write
(&self)
atomic-repository/src/repository/locks.rs:453
↓ 101 callers
Method
insert
Insert an entry into the cache. If the cache is at capacity, the least recently used entry is evicted first.
atomic-repository/src/changestore/cache.rs:77
↓ 100 callers
Function
init
()
atomic-cli/tests/it/remove_recorded_path_test.rs:61
↓ 98 callers
Method
get_mut
Get a mutable reference to a remote by name.
atomic-repository/src/remote.rs:404
↓ 97 callers
Method
clear
* Remove all sessions from the store.
packages/opencode-atomic-hooks/src/session.ts:163
↓ 97 callers
Method
vault_retrieve
Retrieve a vault entry by path.
atomic-repository/src/repository/vault.rs:478
↓ 93 callers
Method
last
Create options for getting the last N changes. # Arguments `n` - Number of recent changes to retrieve
atomic-repository/src/history/types.rs:297
↓ 91 callers
Method
iter_mut
(&mut self)
atomic-core/src/crdt/apply/conflict.rs:572
↓ 90 callers
Method
log_rpc
Append one JSONL line to the env-configured RPC log. Logging must never break a request.
libatomic/src/daemon/state.rs:359
↓ 89 callers
Method
is_root
(&self)
atomic-core/src/crdt/ids.rs:84
↓ 89 callers
Method
to_le_bytes
(self)
atomic-core/src/types/node_id.rs:32
↓ 88 callers
Method
as_slice
Borrow heads in canonical ascending order.
atomic-core/src/operation/mod.rs:164
↓ 88 callers
Method
next
(&mut self)
atomic-repository/src/history/iter.rs:74
↓ 87 callers
Function
read
(relative: &str)
atomic-cli/tests/it/workspace_txn_routing_cb5c_test.rs:106
↓ 86 callers
Method
register_change
(&mut self, hash: &Hash)
atomic-core/src/pristine/txn/write/mod.rs:1177
↓ 85 callers
Method
hash
Compute the hash of this change without writing it. This serializes the change to a temporary buffer using the V3 format and returns the content hash
atomic-core/src/change/change.rs:373
↓ 84 callers
Method
as_str
Returns the canonical string representation of this hook type.
atomic-agent/src/event.rs:235
↓ 84 callers
Method
hunks
Get the hunks in this change.
atomic-core/src/change/change.rs:361
↓ 84 callers
Method
init_vault
Initialize the vault in this repository. Creates the vault tables in the pristine database and the `.vault/` directory structure on disk. This is ide
atomic-repository/src/repository/vault.rs:148
↓ 83 callers
Method
display
Format the stash entry for display: `stash@{0}: On dev: Fix authentication bug`.
atomic-repository/src/repository/stash.rs:206
↓ 83 callers
Method
switch_view
(&mut self, view: &str)
atomic-repository/src/repository/tests/mod.rs:255
↓ 82 callers
Method
build
( commit: GitObjectId, tree: GitObjectId, parents: Vec<GitObjectId>, derivatio
atomic-repository/src/repository/synthesis.rs:249
↓ 82 callers
Method
is_empty
Whether anything was imported.
atomic-cli/src/commands/sidecars.rs:38
↓ 81 callers
Function
print_info
Print an informational message to stdout. The message is formatted in cyan with an info prefix. # Arguments `message` - The message to print # Exa
atomic-cli/src/output/mod.rs:176
↓ 81 callers
Method
root
(&self)
atomic-repository/src/repository/mod.rs:1164
↓ 80 callers
Method
commit
(&self, path: &str, content: &str, message: &str)
atomic-cli/tests/it/git_shim_logging_test.rs:75
↓ 80 callers
Method
file_ops
Get a reference to the file operations.
atomic-core/src/change/change.rs:254
↓ 79 callers
Method
all
Every family, for iteration (inventory scans, closure walks).
atomic-objects/src/sync.rs:117
↓ 78 callers
Function
print_hint
Print a hint/suggestion message to stdout. The message is formatted in dim style, typically used for guiding users on what to do next. # Arguments
atomic-cli/src/output/mod.rs:198
↓ 77 callers
Function
added
Format added content in green. Use this for newly added files, lines, or content. # Arguments `text` - The text to format # Returns A styled obje
atomic-cli/src/output/colors.rs:276
↓ 77 callers
Method
effective_history
Get the ordered direct membership of a view and its full parent chain. Unlike [`log`](Self::log) — which for a draft view returns only that view's ow
atomic-repository/src/repository/history.rs:122
↓ 77 callers
Method
len
Get the number of configured remotes.
atomic-repository/src/remote.rs:378
↓ 76 callers
Method
as_str
Returns the canonical string representation.
atomic-agent/src/turn/phase.rs:155
↓ 75 callers
Method
call
Drive one service exchange on the session's runtime, mapping the transport/domain status to the CLI's error vocabulary.
atomic-cli/src/service/mod.rs:238
↓ 75 callers
Method
exclusive
Serialize repository database access: at most one open handle at a time for this repository. Acquire before any domain call.
libatomic/src/daemon/state.rs:56
↓ 75 callers
Method
len
(&self)
atomic-core/src/record/workflow/crdt/tokenize/types.rs:68
↓ 75 callers
Method
push
Push an element onto the path.
atomic-core/src/output/alive/order.rs:200
↓ 75 callers
Method
vault_intent_create
Create a new vault intent. Allocates a JIRA-style ID (e.g., "PIMO-1") and creates an intent directory with an `intent.md` scaffold. The prefix is de
atomic-repository/src/repository/vault_intent.rs:116
↓ 74 callers
Method
try_lock_operation
Try to enter the common and per-working-copy operation scopes in order.
atomic-repository/src/repository/locks.rs:365
↓ 73 callers
Method
push
Add an edge modification.
atomic-core/src/change/atom.rs:336
↓ 73 callers
Function
set_permissions
(path: &Path, permissions: u16)
atomic-core/src/output/filesystem/paths.rs:83
↓ 73 callers
Method
working_copy_record
Load one persistent working-copy record.
atomic-repository/src/repository/working_copy.rs:704
↓ 72 callers
Method
desired_view_name
Resolve the authoritative desired view for a validated working copy.
atomic-repository/src/repository/working_copy.rs:744
↓ 71 callers
Method
create_draft_view
Create a new Draft view parented on an explicit named parent. Unlike [`Repository::create_view`], which parents on the nearest shared ancestor of the
atomic-repository/src/repository/views.rs:778
↓ 70 callers
Method
begin_read
(&self)
atomic-core/src/pristine/txn/pristine.rs:242
↓ 70 callers
Method
hash
(&self)
atomic-repository/src/repository/git_stream.rs:419
↓ 70 callers
Function
metadata
(hash: Hash, change: &Change)
atomic-core/src/pristine/span_patch_storage/legacy.rs:68
↓ 68 callers
Function
graph_visibility_closure
Build validated graph visibility for `view` and its full parent chain.
atomic-repository/src/repository/filter.rs:64
↓ 68 callers
Method
lock
The registry's lock. A panic while it was held poisons the mutex; the registry's invariants do not depend on unwinding, so a poisoned lock is recovere
libatomic/src/daemon/sandbox_grants.rs:368
↓ 67 callers
Method
as_str
(&self)
atomic-core/src/pristine/vault.rs:54
↓ 67 callers
Method
dependencies
Get the change dependencies.
atomic-core/src/change/change.rs:356
↓ 67 callers
Method
exists
Check if a path exists.
atomic-core/src/output/filesystem/mod.rs:92
↓ 67 callers
Method
iter
Returns an iterator over all (index, hash) pairs in table order. The iterator yields entries in index order (0, 1, 2, ...). # Examples ```rust use
atomic-core/src/change/format_v3/hash_table.rs:498
↓ 66 callers
Method
get_inode
Get the inode for a file. Returns `None` if the file doesn't exist.
atomic-core/src/output/memory.rs:391
↓ 66 callers
Method
hash
Get the change hash.
atomic-repository/src/history/types.rs:436
↓ 66 callers
Method
write
(&mut self, buf: &[u8])
atomic-repository/src/archive.rs:714
↓ 65 callers
Method
head
(&self)
atomic-cli/tests/it/git_adoption_cb7b_test.rs:169
↓ 65 callers
Method
insert_from_view
Insert changes from one view into another. This is the main method for cross-view operations. It can: - Insert all missing changes from source to tar
atomic-repository/src/repository/insert.rs:3453
↓ 65 callers
Method
operation_log
Return operations reachable from a scope's heads in deterministic causal order. Children always precede parents unless `reverse` is true. Timestamps
atomic-repository/src/repository/operation.rs:1186
↓ 65 callers
Method
save_change
Save a change to disk. The change is serialized, written to a temporary file, and then atomically renamed to its final path. The change is also added
atomic-repository/src/changestore/mod.rs:354
↓ 64 callers
Method
as_bytes
Raw digest bytes.
atomic-repository/src/git_binding/codec.rs:117
↓ 64 callers
Method
build
(watch_enabled: bool)
atomic-cli/tests/it/import_budget_100k_bench.rs:320
↓ 63 callers
Method
is_empty
Returns `true` if no agents are registered.
atomic-agent/src/hooks/mod.rs:429
↓ 63 callers
Method
is_file
Check if this format is a single file.
atomic-repository/src/archive.rs:202
↓ 63 callers
Method
spawn
(lock_path: &Path)
atomic-repository/src/repository/tests/operation_lock_tests.rs:25
↓ 63 callers
Method
update
(&mut self, data: &[u8])
atomic-core/src/types/hash.rs:77
↓ 63 callers
Method
vault_intent_update
Update an intent's fields.
atomic-repository/src/repository/vault_intent.rs:662
↓ 61 callers
Method
author
Add an author.
atomic-core/src/change/header.rs:361
↓ 61 callers
Method
switch_view
Switch to a different view and update the working copy. This is the primary method for switching views. It: 1. Validates the view exists 2. Updates t
atomic-repository/src/repository/switch.rs:480
↓ 60 callers
Method
len
(&self)
atomic-core/src/change/format_v3/compact/types.rs:84
↓ 59 callers
Method
build
Build the identity, generating a keypair if needed.
atomic-identity/src/identity.rs:501
↓ 59 callers
Function
create
(binary: &Path, root: &Path, config: &Path)
libatomic/examples/replication_acceptance/fixture.rs:40
↓ 59 callers
Function
temp_store
Helper: create a temporary redb store.
atomic-repository/src/redb_change_store/tests.rs:10
↓ 58 callers
Method
dot_dir
(&self)
atomic-repository/src/repository/mod.rs:1170
↓ 58 callers
Method
id
(&self)
atomic-core/src/crdt/leaf.rs:169
↓ 58 callers
Method
root
(&self)
atomic-cli/tests/it/git_adoption_cb7b_test.rs:157
↓ 57 callers
Method
message
Diagnostic describing the rejected canonical data.
atomic-core/src/operation/mod.rs:42
↓ 57 callers
Method
status
(&self, request: pb::StatusRequest)
atomic-cli/src/service/mod.rs:322
↓ 57 callers
Function
temp_fs
Create a FileSystem rooted at a temporary directory.
atomic-core/src/output/filesystem/tests.rs:17
↓ 57 callers
Method
vault_manifest
Get the vault manifest.
atomic-repository/src/repository/vault.rs:574
↓ 56 callers
Method
context
Create a context (unchanged) line.
atomic-cli/src/commands/diff/types.rs:432
↓ 56 callers
Method
put_required_capability
(&mut self, capability: RepositoryCapability)
atomic-core/src/pristine/txn/write/capability.rs:30
↓ 56 callers
Method
root
(&self)
atomic-cli/tests/it/git_shim_cb10a_test.rs:110
↓ 55 callers
Function
deserialize
(d: D)
atomic-core/src/change/format_v3/types/section.rs:572
↓ 55 callers
Method
kind
(self)
atomic-cli/src/commands/git/parallel.rs:9509
↓ 55 callers
Method
load
Load a session by ID. Returns `Ok(None)` if the session file doesn't exist (not an error). # Errors Returns `AgentError::SessionIdInvalid` if the I
atomic-agent/src/turn/session.rs:1009
↓ 55 callers
Method
success
Create a mock that returns a successful reasoning.
atomic-agent/src/transcript/generator.rs:421
↓ 54 callers
Method
status
Get the file's status.
atomic-repository/src/status.rs:352
↓ 53 callers
Method
get_file_content_on_view
Get the recorded content for a tracked file on a specific view. Like `get_file_content`, but reads from the specified view instead of the current vie
atomic-repository/src/repository/content.rs:303
↓ 53 callers
Method
inode_position
(&self, _inode: Inode)
atomic-core/src/record/context.rs:852
↓ 53 callers
Function
insert
(after: Option<LeafId>, bytes: &[u8])
atomic-core/examples/compact_semantic_codec/tests.rs:10
↓ 53 callers
Method
len
Return the number of directly named changes.
atomic-core/src/pristine/traits/view.rs:54
↓ 52 callers
Method
canonicalize
(&mut self)
atomic-core/src/operation/mod.rs:196
↓ 52 callers
Method
with_signature
Builder method to set signature
atomic-semantic/src/entity.rs:202
← previous
next →
101–200 of 26,840, ranked by callers