Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ as_ref
Method
as_ref
atomic-core/src/diff/line.rs:360–362 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
358
359
impl<
'a> AsRef<[u8]> for Line<'
a> {
360
fn as_ref(&self) -> &[u8] {
361
self.content
362
}
363
}
364
365
#[cfg(test)]
Callers
15
run
Method · 0.80
parse_author
Method · 0.80
parse_author
Method · 0.80
run_with_verifier
Method · 0.80
run
Method · 0.80
import_shape_summary
Function · 0.80
build_graph_first_change
Function · 0.80
slow_import_record_summary
Function · 0.80
write_commit
Method · 0.80
build_git_metadata
Method · 0.80
parse_commit
Function · 0.80
upload_change_smart
Function · 0.80
Calls
no outgoing calls
Tested by
15
test_turn_end_records_untracked_only_files
Function · 0.64
test_session_attestation_covers_only_agent_recorded_changes
Function · 0.64
test_informed_commit
Function · 0.64
test_commit_and_verify
Function · 0.64
test_full_cycle
Function · 0.64
test_backtracking_detected
Function · 0.64
test_backtracking_not_detected_single_edit
Function · 0.64
test_test_driven_iteration
Function · 0.64
test_test_driven_not_detected_without_fail
Function · 0.64
test_backtracking_takes_priority
Function · 0.64
test_resolve_human_gate
Function · 0.64
test_as_ref
Function · 0.64