file

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2019 License: MIT Imports: 0 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	OriginalPath string
	Name         string
	Path         string
	Data         string
	Bytes        []byte
	ReplacedText bool
	Tags         string
	Base         string
	Prefix       string
	Modified     string
}

File holds file's data

func NewFile

func NewFile() *File

NewFile creates a new File

func (*File) GetRemap

func (f *File) GetRemap() string

GetRemap returns a map's params with info required to load files directly from the hard drive when using prefix and base while debug mode is activaTed

Jump to

Keyboard shortcuts

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