MCPcopy Index your code
hub / github.com/AI45Lab/Code / clone

Method clone

core/src/security/default.rs:280–287  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

278// Make it cloneable for Arc sharing
279impl Clone for DefaultSecurityProvider {
280 fn clone(&self) -> Self {
281 Self {
282 config: self.config.clone(),
283 tainted_data: self.tainted_data.clone(),
284 patterns: self.patterns.clone(),
285 injection_patterns: self.injection_patterns.clone(),
286 }
287 }
288}
289
290#[cfg(test)]

Callers 15

from_program_hintMethod · 0.45
to_checkMethod · 0.45
from_reportsMethod · 0.45
verifyMethod · 0.45
instantiateMethod · 0.45
validateMethod · 0.45
from_resultMethod · 0.45
executeMethod · 0.45
render_template_valueFunction · 0.45
payloadMethod · 0.45

Calls

no outgoing calls