MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / is_add

Method is_add

crates/opencode-tool/src/apply_patch.rs:28–30  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

26
27impl PatchOperation {
28 fn is_add(&self) -> bool {
29 matches!(self, PatchOperation::Add)
30 }
31}
32
33#[derive(Debug, Clone)]

Callers 1

parse_multi_file_patchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected