Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ with_change
Method
with_change
atomic-core/src/output/repo/conflict.rs:291–294 ·
view source on GitHub ↗
(mut self, hash: Hash)
Source
from the content-addressed store, hash-verified
289
/// ```
290
#[must_use]
291
pub fn with_change(mut self, hash: Hash) -> Self {
292
self.changes.push(hash);
293
self
294
}
295
296
/// Set all change hashes for this conflict.
297
///
Callers
7
record_conflict
Method · 0.45
test_file_conflict_with_change
Function · 0.45
test_file_conflict_with_multiple_changes
Function · 0.45
test_file_conflict_with_changes_replaces
Function · 0.45
test_file_conflict_builder_chaining
Function · 0.45
test_file_conflict_clone
Function · 0.45
test_file_conflict_equality
Function · 0.45
Calls
1
push
Method · 0.45
Tested by
6
test_file_conflict_with_change
Function · 0.36
test_file_conflict_with_multiple_changes
Function · 0.36
test_file_conflict_with_changes_replaces
Function · 0.36
test_file_conflict_builder_chaining
Function · 0.36
test_file_conflict_clone
Function · 0.36
test_file_conflict_equality
Function · 0.36