contentstructs

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamedIgnoreContents

type NamedIgnoreContents struct {
	Name     string
	Contents string
}

NamedIgnoreContents represents the contents (patterns and comments) of a gitignore file

func (*NamedIgnoreContents) DisplayName

func (nic *NamedIgnoreContents) DisplayName() string

DisplayName returns the decorated name, suitable for a section header in a gitignore file

type RetrievedContents

type RetrievedContents struct {
	Name     string
	Source   string
	Contents string
	Err      error
}

RetrievedContents represents the result of retrieving contents of a gitignore patterns file

Jump to

Keyboard shortcuts

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