Open Bug 421029 Opened 12 years ago Updated 10 years ago

Implement file search in NSPR

Categories

(NSPR :: NSPR, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: WeirdAl, Assigned: wtc)

References

(Blocks 1 open bug)

Details

Currently, NSPR has no capabilities for file searching on the operating system.  This would be very useful to have - sdwilsh says Download Manager could use it, and it would save me time in Verbosio to have file-search as a native XPCOM component.
I think this feature should be provided in XPCOM.
Are there system calls on Windows and Mac OS X for file searching?
Blocks: 329973
http://developer.apple.com/documentation/Cocoa/Conceptual/LowLevelFileMgmt/Tasks/LocatingDirectories.html - this might be a starting point:

"Ideally, you should use the Cocoa functions and constants defined in NSPathUtilities.h. They are easier to use and more efficient in Cocoa code. The primary function for obtaining paths to standard directories is NSSearchPathForDirectoriesInDomains."
Here's a GNU tool for file searching:
http://www.gnu.org/software/findutils/

That covers Linux, in one way.
You need to log in before you can comment on or make changes to this bug.