plugin

package
v2.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PhpExtensions = []string{
	"php",
	"php3",
	"php4",
	"php5",
	"php7",
	"phtml",

	"phar",
	"phpt",
	"phps",
}

PhpExtensions is a list of valid php file extensions

Functions

func Match

func Match(path string, info os.FileInfo) (bool, error)

Match checks if the filename has a valid php extension

Types

This section is empty.

Jump to

Keyboard shortcuts

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