Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ line_count
Method
line_count
atomic-core/src/record/workflow/crdt/builder/trunk.rs:93–95 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
91
/// Returns the number of line operations.
92
#[inline]
93
pub fn line_count(&self) -> usize {
94
self.line_ops.len()
95
}
96
97
/// Returns true if this file has any operations.
98
pub fn has_operations(&self) -> bool {
Callers
nothing calls this directly
Calls
1
len
Method · 0.45
Tested by
no test coverage detected