fileutil

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2017 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasShebang

func HasShebang(bs []byte) bool

Types

type ScriptConfidence

type ScriptConfidence int
const (
	ConfNotScript ScriptConfidence = iota
	ConfIfShebang
	ConfIsScript
)

func CouldBeScript

func CouldBeScript(info os.FileInfo) ScriptConfidence

Jump to

Keyboard shortcuts

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