MCPcopy Create free account
hub / github.com/bajrangCoder/setu / folder_mut

Method folder_mut

src/entities/collections.rs:106–111  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

104 #[serde(default = "default_expanded")]
105 pub expanded: bool,
106 #[serde(default)]
107 pub children: Vec<CollectionNode>,
108}
109
110impl CollectionFolderNode {
111 pub fn new(name: &str) -> Self {
112 Self {
113 id: Uuid::new_v4(),
114 name: name.to_string(),

Callers 4

toggle_node_expandedMethod · 0.80
find_node_mutFunction · 0.80
find_folder_mutFunction · 0.80
remove_nodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected