MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / name

Method name

atomic-core/src/output/mod.rs:289–298  ·  view source on GitHub ↗

Create a new name conflict. Name conflicts occur when a file has been renamed by concurrent changes.

(path: String, changes: Vec<Hash>, id: usize)

Source from the content-addressed store, hash-verified

287 ///
288 /// Name conflicts occur when a file has been renamed by concurrent changes.
289 pub fn name(path: String, changes: Vec<Hash>, id: usize) -> Self {
290 Self {
291 conflict_type: ConflictType::Name,
292 path,
293 inode_vertex: Position::ROOT,
294 line: 0,
295 changes,
296 id,
297 }
298 }
299
300 /// Get the file path where this conflict occurs.
301 pub fn path(&self) -> &str {

Callers 6

get_all_branchesMethod · 0.45
extract_commit_metadataFunction · 0.45
runMethod · 0.45
classify_hashesMethod · 0.45
test_large_fileFunction · 0.45
test_large_file_stressFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_large_fileFunction · 0.36
test_large_file_stressFunction · 0.36