pub fn delete_resctrl_subdirectory_by_id(id: &str) -> Result<(), IntelRdtError>Expand description
Removes the main resource control group (CLOS) directory for the container using its ID. Helper to delete a resctrl subdirectory based ONLY on the container ID.
DEPRECATED: This function is only kept for backwards compatibility with legacy state files. It performs strict bounds checking to ensure it only deletes directories directly under the resctrl mount point, preventing accidental deletion of arbitrary paths or nested kernel files.