const UnifiedMountpoint … func defaultDirPath(c *configs.Cgroup) (string, error) { … } func _defaultDirPath(root, cgPath, cgParent, cgName string) (string, error) { … } // parseCgroupFile parses /proc/PID/cgroup file and return string func parseCgroupFile(path string) (string, error) { … } func parseCgroupFromReader(r io.Reader) (string, error) { … }