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

Method name

atomic-core/src/output/mod.rs:296–305  ·  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

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

Callers 15

build_commit_messageMethod · 0.45
build_switch_projectionFunction · 0.45
wip_census_classFunction · 0.45
startMethod · 0.45
get_all_branchesMethod · 0.45
pathsMethod · 0.45
renamed_branch_targetFunction · 0.45
collect_git_treeFunction · 0.45
detect_git_boundariesFunction · 0.45

Calls

no outgoing calls