pub fn find(
workspace: &dyn Workspace,
args: &SearchArgs,
) -> Result<Found, ToolExecutionError>Expand description
Searches as Search does, in workspace, and returns the matches as
data: the files under the searched path that its
listing keeps, each
of at most MAX_FILE_BYTES and read as UTF-8; a search for file
names with an empty pattern reads none and keeps them all. Blocks: run
it on a thread of its own (blocking).
ยงErrors
When the pattern or the glob is malformed, the path does not exist, or the walk fails.