filetype

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsArchiveFile

func IsArchiveFile(path string) (bool, error)

IsArchiveFile returns true if `f` is archive file (zip or gz).

func IsExecutableFile

func IsExecutableFile(f os.FileInfo, path string) (bool, error)

IsExecutableFile returns true if `f` is executable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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