reffinder

package
v0.0.0-...-369ebcd Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2019 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindFileRef

func FindFileRef(file []byte, filePath, rootPath string) ([]string, error)

FindFileRef 查找文件引用

Types

type CSSFinder

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

CSSFinder 引用发现器

func (*CSSFinder) FindRef

func (cf *CSSFinder) FindRef(inputs []byte) []string

FindRef 查找HTML文件的所有引用

func (*CSSFinder) Reset

func (cf *CSSFinder) Reset()

Reset 重置

type HTMLFinder

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

HTMLFinder 引用发现器

func (*HTMLFinder) FindRef

func (hf *HTMLFinder) FindRef(inputs []byte) []string

FindRef 查找HTML文件的所有引用

func (*HTMLFinder) Reset

func (hf *HTMLFinder) Reset()

Reset 重置

type JSFinder

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

JSFinder 引用发现器

func (*JSFinder) FindRef

func (jf *JSFinder) FindRef(inputs []byte) []string

FindRef 查找HTML文件的所有引用

func (*JSFinder) Reset

func (jf *JSFinder) Reset()

Reset 重置

Jump to

Keyboard shortcuts

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