Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

henrik-fuzzy_file_finder

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

henrik-fuzzy_file_finder

  • 1.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= FuzzyFileFinder

FuzzyFileFinder is a (somewhat improved) implementation of TextMate's "cmd-T" functionality. It allows you to search for a file by specifying a pattern of characters that appear in that file's name. Unlike TextMate, FuzzyFileFinder also lets you match against the file's directory, so you can more easily scope your search.

== FEATURES:

  • Quickly search directory trees for files
  • Avoids accidentally scanning huge directories by implementing a ceiling (default 10,000 entries)
  • Simple highlighting of matches to discover how a pattern matched

== SYNOPSIS:

In a nutshell:

require 'fuzzy_file_finder'

finder = FuzzyFileFinder.new # search under current working directory

finder.search "app/blogcon" do |match| puts "[%5d] %s" % [match[:score] * 10000, match[:highlighted_path]] end

finder = FuzzyFileFinder.new("/my/project") # search under this directory

matches = finder.find("app/blogcon").sort_by { |m| [-m[:score], m[:path] } matches.each do |match| puts "[%5d] %s" % [match[:score] * 10000, match[:highlighted_path]] end

See FuzzyFileFinder for more documentation, and links to further information.

== INSTALL:

  • gem install --source=http://gems.github.com jamis-fuzzy_file_finder

== LICENSE:

All code, documentation, and related materials in this project are released into the PUBLIC DOMAIN. Usage, modification, and distribution are allowed without restriction.

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc