source_file
comment "// Copyright 2015 The Prometheus Authors"
comment "// Licensed under the Apache License, Version 2.0 (the \"Lice"...
comment "// you may not use this file except in compliance with the L"...
comment "// You may obtain a copy of the License at"
comment "//"
comment "// http://www.apache.org/licenses/LICENSE-2.0"
comment "//"
comment "// Unless required by applicable law or agreed to in writing"...
comment "// distributed under the License is distributed on an \"AS IS"...
comment "// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expr"...
comment "// See the License for the specific language governing permi"...
comment "// limitations under the License."
comment "//go:build !notextfile"
comment "// +build !notextfile"
package_clause
package "package"
package_identifier "collector"
import_declaration (+71 nodes collapsed)
var_declaration (+81 nodes collapsed)
type_declaration (+29 nodes collapsed)
function_declaration (+24 nodes collapsed)
comment "// NewTextFileCollector returns a new Collector exposing met"...
comment "// in the given textfile directory."
function_declaration (+60 nodes collapsed)
function_declaration (+848 nodes collapsed)
method_declaration (+200 nodes collapsed)
comment "// Update implements the Collector interface."
method_declaration (+989 nodes collapsed)
comment "// processFile processes a single file, returning its modifi"...
method_declaration (+306 nodes collapsed)
comment "// hasTimestamps returns true when metrics contain unsupport"...
function_declaration (+76 nodes collapsed)