Module operations

Module operations 

Source
Expand description

Core operations for file systems and utilities.

This module contains framework-agnostic implementations of:

  • File operations (read, write, edit, glob, grep, bash, todo) - always available
  • Web fetching (fetch_url) - requires async or blocking feature

Re-exports§

pub use bash::execute_command;
pub use bash::BashOutput;
pub use edit::edit_file;
pub use edit::EditError;
pub use glob::glob_files;
pub use glob::GlobOutput;
pub use grep::GrepFileMatches;
pub use grep::GrepLineMatch;
pub use grep::GrepOutput;
pub use grep::DEFAULT_MAX_LINE_LENGTH;
pub use read::read_file;
pub use todo::read_todos;
pub use todo::write_todos;
pub use todo::Todo;
pub use todo::TodoPriority;
pub use todo::TodoState;
pub use todo::TodoStatus;
pub use write::write_file;
pub use webfetch::fetch_url;
pub use webfetch::format_json;
pub use webfetch::html_to_markdown;
pub use webfetch::WebFetchOutput;

Modules§

bash
Shell command execution operation.
edit
File editing operation with exact string replacement.
glob
Glob pattern file matching operation.
grep
Grep content search operation.
read
File reading operation.
todo
Todo list management operation.
webfetch
Web content fetching operation.
write
File writing operation.