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 (
commit 6328948cbeed388d0f8dd10f28c468b109840926
tree 56c00d959b15a15f108d9be67f875bb0c60a8068
parent a1dfc2ed63763a93b67eea38eb274ba6d8abc939
tree 56c00d959b15a15f108d9be67f875bb0c60a8068
parent a1dfc2ed63763a93b67eea38eb274ba6d8abc939
| 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 | Sun Oct 12 19:48:29 -0700 2008 | |
| |
lib/ |
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.









