GithubHelp home page GithubHelp logo

file-finder's Introduction

file-finder

A faster alternative to find. It currently respects a gitignore in the directory being searched by ommitting files that match lines in the gitignore.

At a high level, this spawns two threads - one that goes through the file system, enqueuing files from the root and another that

My primary motivation for building this was to be able to use it with fzf. Specifically, with large projects, I wanted to limit the number of files to search through with fzf in vim.

Installation

There are no required dependencies. Currently it can be compiled simply with:

g++-7 -std=c++17 -O3 -Iff/include/ ff/ff.cpp

Until std::filesystem is supported by g++, this will only work with POSIX systems, specfically those with the dirent.h header (see ff/include/ff/filesystem.h for more details on the filesystem logic).

ff has been tested on Mac OS X 10.12.6 and Ubuntu 16.04.

This is also a buck project. You can install and use buck to compile the sources as well.

gflags is an optional dependency if you want support for flags, but right now there are no implemented flags.

TODOS (links to Github issues)

file-finder's People

Contributors

akshaynanavati avatar

Watchers

Rohan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.