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

Method with_options

atomic-core/src/record/workflow/graph_op/builder.rs:106–115  ·  view source on GitHub ↗
(path: impl Into<String>, options: HunkBuildOptions)

Source from the content-addressed store, hash-verified

104 /// ```
105 #[must_use]
106 pub fn with_options(path: impl Into<String>, options: HunkBuildOptions) -> Self {
107 Self {
108 path: path.into(),
109 options,
110 pending: Vec::new(),
111 content_position: 0,
112 old_line: 0,
113 new_line: 0,
114 }
115 }
116
117 /// Get the path being processed.
118 #[must_use]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected