commons

package
v0.1.2-mac Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CandidateFiles

func CandidateFiles(dirname string, manifest []string) ([]string, error)

CandidateFiles matches files that should be uploaed or not

func GetFileContentType

func GetFileContentType(path string) (string, error)

Gets the actual file type, irrespective of the extension provided to the file.

func ReadFileLines

func ReadFileLines(file string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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