pub fn rename_node_rule(
old_identifier: &str,
new_identifier: &str,
) -> Result<()>Expand description
Renames a Node Rule, updating its associated files and directory structure.
This operation updates:
- The
.aimfile name - The
.jnljournal file name - The directory name (if it exists)
§Arguments
old_identifier- The current identifier of the Node Rulenew_identifier- The new identifier for the Node Rule
§Returns
Result<()>- Success or error indicating if the operation completed
§Examples
use aimx::workspace::rename_node_rule;
// Rename a node rule
// rename_node_rule("old_name", "new_name")?;