An open API service indexing awesome lists of open source software.

https://github.com/lflxp/go-locate

golang locate for search local file or dir very fast
https://github.com/lflxp/go-locate

bbolt directory file locate

Last synced: 3 months ago
JSON representation

golang locate for search local file or dir very fast

Awesome Lists containing this project

README

        

# go-locate

# TODO

1. cobra cli
2. zsh/bash completions
3. refresh/searchall/searchPrefix
4. use linux kernel monitor file change
5. use one or three index for search file

#### Description
Go version locate application and BBolt database storage

#### Installation

> go get -u github.com/lflxp/go-locate

#### Instructions

```
➜ go-locate ./go-locate -h
A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:

Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.

Usage:
go-locate [flags]
go-locate [command]

Available Commands:
count count数据
delete Delete数据
help Help about any command
init 初始化数据

Flags:
-a, --all 扫描方式: 默认全表扫描,false为prefix扫描
--config string config file (default is $HOME/.go-locate.yaml)
-v, --debug 是否debug日志输出
-h, --help help for go-locate
-i, --info string support regexp, check message,default: ''
-t, --toggle Help message for toggle

Use "go-locate [command] --help" for more information about a command.
```

#### Contribution

1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request

#### Github Feature

1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Github blog [blog.Github.com](https://blog.Github.com)
3. Explore open source project [https://Github.com/explore](https://Github.com/explore)
4. The most valuable open source project [GVP](https://Github.com/gvp)
5. The manual of Github [https://Github.com/help](https://Github.com/help)
6. The most popular members [https://Github.com/Github-stars/](https://Github.com/Github-stars/)