This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Matt Baron (author)
Wed Dec 31 10:44:55 -0800 2008
commit b14d70a1ecbf88712639ca898d0617d0db6c3918
tree fa5f9fcdca7502c9e33ddad6ea6c6124783b918c
parent 2305f9d71e6eaa10b28cb518f10e0354232069f6
tree fa5f9fcdca7502c9e33ddad6ea6c6124783b918c
parent 2305f9d71e6eaa10b28cb518f10e0354232069f6
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Oct 10 22:55:52 -0700 2008 | |
| |
LICENSE | Thu Oct 09 13:43:01 -0700 2008 | |
| |
Manifest | Thu Oct 09 13:43:01 -0700 2008 | |
| |
README.rdoc | Thu Oct 09 13:43:01 -0700 2008 | |
| |
Rakefile | Thu Oct 09 13:43:01 -0700 2008 | |
| |
fuzzy_file_finder.gemspec | Tue Dec 02 15:30:00 -0800 2008 | |
| |
lib/ | Thu Feb 26 22:49:38 -0800 2009 | |
| |
test/ | Wed Dec 03 15:48:15 -0800 2008 |
README.rdoc
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
finder.search "app/blogcon" do |match|
puts "[%5d] %s" % [match[:score] * 10000, match[:highlighted_path]]
end
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=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.







