Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/avencera/rustywind
/ functions
Functions
67 in github.com/avencera/rustywind
⨍
Functions
67
◇
Types & classes
9
↓ 3 callers
Function
download
(_url, dest, opts)
npm/lib/download.js:80
↓ 3 callers
Function
print_file_name
(file_path: &Path, contents_changed: bool, options: &Options)
rustywind-cli/src/main.rs:251
↓ 3 callers
Function
sanitizePathForPowershell
(path)
npm/lib/download.js:221
↓ 2 callers
Method
as_str
(&self)
rustywind-core/src/class_wrapping.rs:16
↓ 2 callers
Method
has_classes
Checks if the file contents have any classes.
rustywind-core/src/app.rs:48
↓ 2 callers
Function
print_file_contents
(file_contents: &str)
rustywind-cli/src/main.rs:281
↓ 2 callers
Function
should_ignore_current_file
Return a boolean indicating whether the file should be ignored
rustywind-cli/src/main.rs:226
↓ 2 callers
Method
sort_file_contents
Sorts the classes in the file contents.
rustywind-core/src/app.rs:53
↓ 1 callers
Function
downloadWin
* @param {string} url * @param {string} dest * @param {{ headers: Record<string, string>; proxy?: string; }} opts * @returns boolean
npm/lib/download.js:37
↓ 1 callers
Function
get
* @param {string} _url * @param {https.RequestOptions} opts * @returns
npm/lib/get.js:15
↓ 1 callers
Function
getApiUrl
* @param {string} repo * @param {string} tag
npm/lib/download-release.js:11
↓ 1 callers
Function
getAssetFromGitHub
* @param {{ force: boolean; token: string; version: string; }} opts * @param {string} assetName * @param {string} downloadFolder * @return {Promise
npm/lib/download.js:151
↓ 1 callers
Function
getReleaseFromGitHubApi
* @param {{ token?: string; version: string; }} opts
npm/lib/download-release.js:18
↓ 1 callers
Function
getTarget
()
npm/lib/postinstall.js:34
↓ 1 callers
Function
get_class_wrapping_from_cli
(cli: &Cli)
rustywind-cli/src/options.rs:147
↓ 1 callers
Function
get_custom_regex_from_cli
(cli: &Cli)
rustywind-cli/src/options.rs:132
↓ 1 callers
Function
get_file_name
(file_path: &Path, starting_paths: &[PathBuf])
rustywind-cli/src/main.rs:265
↓ 1 callers
Function
get_ignored_files_from_cli
(cli: &Cli)
rustywind-cli/src/options.rs:188
↓ 1 callers
Function
get_search_paths_from_starting_paths
(starting_paths: &[PathBuf])
rustywind-cli/src/options.rs:175
↓ 1 callers
Function
get_sorter_from_cli
(cli: &Cli)
rustywind-cli/src/options.rs:98
↓ 1 callers
Function
get_starting_path_from_cli
(cli: &Cli)
rustywind-cli/src/options.rs:154
↓ 1 callers
Function
get_write_mode_from_cli
(cli: &Cli)
rustywind-cli/src/options.rs:161
↓ 1 callers
Function
isGithubUrl
* @param {string} _url * @returns boolean
npm/lib/download.js:27
↓ 1 callers
Function
main
()
npm/lib/update-release.js:13
↓ 1 callers
Function
main
()
npm/lib/postinstall.js:62
↓ 1 callers
Function
parse_custom_sorter
(contents: Vec<String>)
rustywind-cli/src/options.rs:201
↓ 1 callers
Function
print_changed_files
(file_path: &Path, contents_changed: bool, options: &Options)
rustywind-cli/src/main.rs:212
↓ 1 callers
Method
rewrap_wrapped_classes
(&self, classes: Vec<&str>)
rustywind-core/src/app.rs:91
↓ 1 callers
Function
run_on_file_path
(file_path: &Path, options: &Options)
rustywind-cli/src/main.rs:172
↓ 1 callers
Method
sort_classes
Given a [&str] of whitespace-separated classes, returns a [String] of sorted classes. Does not preserve whitespace.
rustywind-core/src/app.rs:63
↓ 1 callers
Method
sort_classes_vec
(&self, classes: impl Iterator<Item = &'a str>)
rustywind-core/src/app.rs:107
↓ 1 callers
Method
sort_variant_classes
( &self, classes: Vec<&'a str>, mut custom_classes: Vec<&'a str>, class_after:
rustywind-core/src/app.rs:158
↓ 1 callers
Function
untar
(zipPath, destinationDir)
npm/lib/download.js:226
↓ 1 callers
Method
unwrap_wrapped_classes
(&self, class_string: &'a str)
rustywind-core/src/app.rs:75
↓ 1 callers
Function
unzipRustywind
(zipPath, destinationDir)
npm/lib/download.js:250
↓ 1 callers
Function
unzipWindows
(zipPath, destinationDir)
npm/lib/download.js:193
↓ 1 callers
Function
write_to_file
(file_path: &Path, sorted_contents: &str, options: &Options)
rustywind-cli/src/main.rs:238
Function
create_sorter
(url: &str, skip_ssl_verification: bool)
rustywind-vite/src/sorter.rs:13
Method
default
()
rustywind-core/src/app.rs:22
Method
default
()
rustywind-core/src/class_wrapping.rs:10
Method
deref
(&self)
rustywind-core/src/sorter.rs:28
Function
extracts_all_classes
()
rustywind-core/src/sorter.rs:93
Function
extracts_classes_with_leading_whitespace
()
rustywind-core/src/sorter.rs:102
Method
from
(s: T)
rustywind-core/src/class_wrapping.rs:26
Function
get_styles
()
rustywind-cli/src/cli.rs:1
Function
main
()
rustywind-cli/src/main.rs:101
Method
new
(sorter: HashMap<String, usize>)
rustywind-core/src/sorter.rs:55
Method
new
( regex: FinderRegex, sorter: Sorter, allow_duplicates: bool, class_wrapping:
rustywind-core/src/app.rs:33
Method
new_from_cli
(cli: Cli)
rustywind-cli/src/options.rs:66
Method
new_from_file
Create the sorter from a [File]
rustywind-core/src/sorter.rs:60
Method
new_from_reader
Create the sorter from any [BufReader]
rustywind-core/src/sorter.rs:66
Function
test_has_classes
(input: &str, output: bool)
rustywind-core/src/app.rs:207
Function
test_regex_matches_class_name
(haystack: &str)
rustywind-core/src/defaults.rs:4981
Function
test_regex_matches_classes_with_mixed_characters
(haystack: &str)
rustywind-core/src/defaults.rs:5029
Function
test_regex_matches_classes_with_special_characters
(haystack: &str)
rustywind-core/src/defaults.rs:5021
Function
test_regex_matches_multiple_classes_with_arbitrary_values
(haystack: &str)
rustywind-core/src/defaults.rs:5013
Function
test_regex_matches_negative_class_names
(haystack: &str)
rustywind-core/src/defaults.rs:5005
Function
test_regex_matches_tailwind_class_with_arbitrary_value
(haystack: &str)
rustywind-core/src/defaults.rs:4997
Function
test_regex_matches_tailwind_classes
(haystack: &str)
rustywind-core/src/defaults.rs:4989
Function
test_rewrap_wrapped_classes
(input: Vec<&'a str>, wrapping: ClassWrapping, output: &str)
rustywind-core/src/app.rs:514
Function
test_sort_classes_vec
(input: impl IntoIterator<Item = &'a str>, output: Vec<&str>)
rustywind-core/src/app.rs:227
Function
test_sort_file_contents
(app: &RustyWind, input: &str, output: &str)
rustywind-core/src/app.rs:465
Function
test_unusual_use_cases
( regex_overwrite: Option<&str>, class_wrapping: ClassWrapping, input: &str, o
rustywind-core/src/app.rs:544
Function
test_unwrap_wrapped_classes
(input: &str, wrapping: ClassWrapping, output: Vec<&str>)
rustywind-core/src/app.rs:487
Method
to_possible_value
(&self)
rustywind-cli/src/options.rs:49
Method
value_variants
()
rustywind-cli/src/options.rs:41
Function
verify_cli
()
rustywind-cli/src/main.rs:288