pump

package
v0.0.0-...-2a1c7dc Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0, BSD-3-Clause, MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPchDepend

func GetPchDepend(f string) []string

返回依赖列表,需要注意有嵌套关系

func IsPump

func IsPump(env *env.Sandbox) bool

func IsPumpCache

func IsPumpCache(env *env.Sandbox) bool

func LinkResultFile

func LinkResultFile(env *env.Sandbox) string

func PumpCacheDir

func PumpCacheDir(env *env.Sandbox) string

func PumpCacheSizeMaxMB

func PumpCacheSizeMaxMB(env *env.Sandbox) int32

func PumpCorrectCap

func PumpCorrectCap(env *env.Sandbox) bool

func PumpMinActionNum

func PumpMinActionNum(env *env.Sandbox) int32

func ResolveLinkData

func ResolveLinkData(f string) (map[string]string, map[string]string, error)

first map : symlink->realfile second map : realfile->symlink

func SaveLinkData

func SaveLinkData(data map[string]string, f string) error

func SetPchDepend

func SetPchDepend(f string, depends []string)

func SupportPump

func SupportPump(env *env.Sandbox) bool

func SupportPumpLstatByDir

func SupportPumpLstatByDir(env *env.Sandbox) bool

是否支持通过搜索目录来获取文件的stat信息

func SupportPumpSearchLink(env *env.Sandbox) bool

是否支持添加xcode的头文件中的链接文件

func SupportPumpStatCache

func SupportPumpStatCache(env *env.Sandbox) bool

是否支持依赖文件的stat信息的缓存

Types

type Client

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

Client provide a handler to do request to distcc-pump include-server

func New

func New(socketAddr string) (*Client, error)

New get a new pump client via provided socketed

func (*Client) Analyze

func (c *Client) Analyze(dir string, args []string) ([]string, error)

Analyze do the analyze via include-server

Jump to

Keyboard shortcuts

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