/
githubmirror
/
fzf
Обзор
Документация
Войти
/
githubmirror
/
fzf
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/options_no_pprof.go
13 строк
332 B
Junegunn Choi
Refactor the code so that fzf can be used as a library (#3769)
06 май 2024, 19:06
Не верифицирован
06 май 2024, 19:06
e8405f4
Код
Авторство
О чём код?
//go:build !pprof // +build !pprof package fzf import "errors" func (o *Options) initProfiling() error { if o.CPUProfile != "" || o.MEMProfile != "" || o.BlockProfile != "" || o.MutexProfile != "" { return errors.New("error: profiling not supported: FZF must be built with '-tags=pprof' to enable profiling") } return nil }