rw_resource_util::util

Function parse_controller_enable_file_for_cgroup_v2

source
pub fn parse_controller_enable_file_for_cgroup_v2(
    file_path: &str,
    controller_name: &str,
) -> bool
Expand description

Parses the filepath and checks for the existence of controller_name in the file.