t3cutil

package
v5.1.6+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommentsFilter

func CommentsFilter(body []string) []string

commentsFilter is used to remove comment lines from config files while making comparisons.

func NewLineFilter

func NewLineFilter(str string) string

NewLineFilter removes carriage returns from config files while making comparisons.

func ReadFile

func ReadFile(f string) []byte

ReadFile reads a file and returns the file contents.

func UnencodeFilter

func UnencodeFilter(body []string) []string

UnencodeFilter translates HTML escape sequences while making config file comparisons.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL