aboutsummaryrefslogtreecommitdiff
path: root/src/utils.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add glob pattern matching utility魏曹先生2025-12-011-0/+1
| | | | | | | | | | This implements a Globber struct that can match files and directories using wildcard patterns (* and ?). It supports relative paths, home directory expansion with ~, and cross-platform path separators. The implementation includes pattern matching with backtracking for complex patterns and handles different directory prefixes (current, user home, and root).
* Move quick sort utility to data_struct module魏曹先生2025-11-221-1/+0
|
* feat: add quick sort utilities魏曹先生2025-11-171-0/+1
| | | | Add quick sort implementation with custom comparison functions
* Remove md_colored module魏曹先生2025-11-101-1/+0
|
* Create fs.rs魏曹先生2025-11-101-2/+3
|
* feat: add display utilities and table component魏曹先生2025-11-061-0/+1
| | | | | | | - Create display module with SimpleTable structure - Add size_str function for file size formatting - Support ANSI escape sequence filtering in display width - Provide table formatting with proper column alignment
* Add confirmation options and alias commands魏曹先生2025-10-291-0/+1
| | | | | | | | - Add -C/--confirm flags to skip confirmation for direct/unstain commands - Add command aliases for account and vault subcommands (+/-/ls) - Improve error handling with better error messages - Implement unstain command functionality - Add port option to vault listen command - Refactor error handling to use centralized function
* Add socket address helper for domain resolution魏曹先生2025-10-271-0/+1
|
* refactor: update source code files魏曹先生2025-10-181-0/+1
| | | | | | - Update jv.rs binary - Update lib.rs library exports - Update utils.rs utility functions
* feat: add internationalization support and new command-line tools魏曹先生2025-10-141-0/+2
- Add locale support with English and Chinese translations - Introduce new jv and jvv command-line tools - Replace jvc.rs with improved command structure - Add utility modules for language selection and markdown coloring - Update configuration and dependencies