source_file
comment "//go:build linux"
package_clause
package "package"
package_identifier "node"
import_declaration
import "import"
import_spec_list
( "("
import_spec
interpreted_string_literal
" "\""
interpreted_string_literal_content "errors"
" "\""
import_spec
interpreted_string_literal
" "\""
interpreted_string_literal_content "os"
" "\""
import_spec
interpreted_string_literal
" "\""
interpreted_string_literal_content "path/filepath"
" "\""
import_spec
interpreted_string_literal
" "\""
interpreted_string_literal_content "slices"
" "\""
import_spec
interpreted_string_literal
" "\""
interpreted_string_literal_content "sync"
" "\""
import_spec
interpreted_string_literal
" "\""
interpreted_string_literal_content "github.com/containers/common/pkg/cgroups"
" "\""
import_spec
package_identifier "libctrcgroups"
interpreted_string_literal
" "\""
interpreted_string_literal_content "github.com/opencontainers/cgroups"
" "\""
) ")"
var_declaration (+35 nodes collapsed)
function_declaration (+35 nodes collapsed)
comment "// CgroupHasMemorySwap returns whether the memory swap contr"...
function_declaration (+220 nodes collapsed)
comment "// CgroupHasHugetlb returns whether the hugetlb controller i"...
function_declaration (+21 nodes collapsed)
comment "// CgroupHasPid returns whether the pid controller is presen"...
function_declaration (+21 nodes collapsed)
function_declaration (+179 nodes collapsed)