sif: github.com/drgarcia1986/sif Index | Files

package sif

import "github.com/drgarcia1986/sif"

Index

Package Files

sif.go utils.go

type FileMatched Uses

type FileMatched struct {
    Name    string
    Matches []Match
}

type Match Uses

type Match struct {
    Line int
    Text string
}

type Options Uses

type Options struct {
    CaseInsensitive bool
}

type Sif Uses

type Sif struct {
    // contains filtered or unexported fields
}

func New Uses

func New(pattern string, options Options) (*Sif, error)

func (*Sif) Scan Uses

func (s *Sif) Scan(path string) ([]*FileMatched, error)

func (*Sif) ScanDir Uses

func (s *Sif) ScanDir(dir string) ([]*FileMatched, error)

func (*Sif) ScanFile Uses

func (s *Sif) ScanFile(path string) (*FileMatched, error)

Package sif imports 9 packages (graph). Updated 2017-04-03. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).