pub fn delete_node_rule(identifier: &str) -> Result<()>Expand description
Deletes a Node Rule and its associated files and directory structure.
This operation removes:
- The
.aimfile (if it exists) - The
.jnljournal file (if it exists) - The directory (if it exists and is empty)
§Arguments
identifier- The identifier of the Node Rule to delete
§Returns
Result<()>- Success or error indicating if the operation completed
§Examples
use aimx::workspace::delete_node_rule;
// Delete a node rule
// delete_node_rule("unwanted_node")?;