MCPcopy Index your code

hub / github.com/avencera/rustywind / functions

Functions67 in github.com/avencera/rustywind

↓ 3 callersFunctiondownload
(_url, dest, opts)
npm/lib/download.js:80
↓ 3 callersFunctionprint_file_name
(file_path: &Path, contents_changed: bool, options: &Options)
rustywind-cli/src/main.rs:251
↓ 3 callersFunctionsanitizePathForPowershell
(path)
npm/lib/download.js:221
↓ 2 callersMethodas_str
(&self)
rustywind-core/src/class_wrapping.rs:16
↓ 2 callersMethodhas_classes
Checks if the file contents have any classes.
rustywind-core/src/app.rs:48
↓ 2 callersFunctionprint_file_contents
(file_contents: &str)
rustywind-cli/src/main.rs:281
↓ 2 callersFunctionshould_ignore_current_file
Return a boolean indicating whether the file should be ignored
rustywind-cli/src/main.rs:226
↓ 2 callersMethodsort_file_contents
Sorts the classes in the file contents.
rustywind-core/src/app.rs:53
↓ 1 callersFunctiondownloadWin
* @param {string} url * @param {string} dest * @param {{ headers: Record<string, string>; proxy?: string; }} opts * @returns boolean
npm/lib/download.js:37
↓ 1 callersFunctionget
* @param {string} _url * @param {https.RequestOptions} opts * @returns
npm/lib/get.js:15
↓ 1 callersFunctiongetApiUrl
* @param {string} repo * @param {string} tag
npm/lib/download-release.js:11
↓ 1 callersFunctiongetAssetFromGitHub
* @param {{ force: boolean; token: string; version: string; }} opts * @param {string} assetName * @param {string} downloadFolder * @return {Promise
npm/lib/download.js:151
↓ 1 callersFunctiongetReleaseFromGitHubApi
* @param {{ token?: string; version: string; }} opts
npm/lib/download-release.js:18
↓ 1 callersFunctiongetTarget
()
npm/lib/postinstall.js:34
↓ 1 callersFunctionget_class_wrapping_from_cli
(cli: &Cli)
rustywind-cli/src/options.rs:147
↓ 1 callersFunctionget_custom_regex_from_cli
(cli: &Cli)
rustywind-cli/src/options.rs:132
↓ 1 callersFunctionget_file_name
(file_path: &Path, starting_paths: &[PathBuf])
rustywind-cli/src/main.rs:265
↓ 1 callersFunctionget_ignored_files_from_cli
(cli: &Cli)
rustywind-cli/src/options.rs:188
↓ 1 callersFunctionget_search_paths_from_starting_paths
(starting_paths: &[PathBuf])
rustywind-cli/src/options.rs:175
↓ 1 callersFunctionget_sorter_from_cli
(cli: &Cli)
rustywind-cli/src/options.rs:98
↓ 1 callersFunctionget_starting_path_from_cli
(cli: &Cli)
rustywind-cli/src/options.rs:154
↓ 1 callersFunctionget_write_mode_from_cli
(cli: &Cli)
rustywind-cli/src/options.rs:161
↓ 1 callersFunctionisGithubUrl
* @param {string} _url * @returns boolean
npm/lib/download.js:27
↓ 1 callersFunctionmain
()
npm/lib/update-release.js:13
↓ 1 callersFunctionmain
()
npm/lib/postinstall.js:62
↓ 1 callersFunctionparse_custom_sorter
(contents: Vec<String>)
rustywind-cli/src/options.rs:201
↓ 1 callersFunctionprint_changed_files
(file_path: &Path, contents_changed: bool, options: &Options)
rustywind-cli/src/main.rs:212
↓ 1 callersMethodrewrap_wrapped_classes
(&self, classes: Vec<&str>)
rustywind-core/src/app.rs:91
↓ 1 callersFunctionrun_on_file_path
(file_path: &Path, options: &Options)
rustywind-cli/src/main.rs:172
↓ 1 callersMethodsort_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 callersMethodsort_classes_vec
(&self, classes: impl Iterator<Item = &'a str>)
rustywind-core/src/app.rs:107
↓ 1 callersMethodsort_variant_classes
( &self, classes: Vec<&'a str>, mut custom_classes: Vec<&'a str>, class_after:
rustywind-core/src/app.rs:158
↓ 1 callersFunctionuntar
(zipPath, destinationDir)
npm/lib/download.js:226
↓ 1 callersMethodunwrap_wrapped_classes
(&self, class_string: &'a str)
rustywind-core/src/app.rs:75
↓ 1 callersFunctionunzipRustywind
(zipPath, destinationDir)
npm/lib/download.js:250
↓ 1 callersFunctionunzipWindows
(zipPath, destinationDir)
npm/lib/download.js:193
↓ 1 callersFunctionwrite_to_file
(file_path: &Path, sorted_contents: &str, options: &Options)
rustywind-cli/src/main.rs:238
Functioncreate_sorter
(url: &str, skip_ssl_verification: bool)
rustywind-vite/src/sorter.rs:13
Methoddefault
()
rustywind-core/src/app.rs:22
Methoddefault
()
rustywind-core/src/class_wrapping.rs:10
Methodderef
(&self)
rustywind-core/src/sorter.rs:28
Functionextracts_all_classes
()
rustywind-core/src/sorter.rs:93
Functionextracts_classes_with_leading_whitespace
()
rustywind-core/src/sorter.rs:102
Methodfrom
(s: T)
rustywind-core/src/class_wrapping.rs:26
Functionget_styles
()
rustywind-cli/src/cli.rs:1
Functionmain
()
rustywind-cli/src/main.rs:101
Methodnew
(sorter: HashMap<String, usize>)
rustywind-core/src/sorter.rs:55
Methodnew
( regex: FinderRegex, sorter: Sorter, allow_duplicates: bool, class_wrapping:
rustywind-core/src/app.rs:33
Methodnew_from_cli
(cli: Cli)
rustywind-cli/src/options.rs:66
Methodnew_from_file
Create the sorter from a [File]
rustywind-core/src/sorter.rs:60
Methodnew_from_reader
Create the sorter from any [BufReader]
rustywind-core/src/sorter.rs:66
Functiontest_has_classes
(input: &str, output: bool)
rustywind-core/src/app.rs:207
Functiontest_regex_matches_class_name
(haystack: &str)
rustywind-core/src/defaults.rs:4981
Functiontest_regex_matches_classes_with_mixed_characters
(haystack: &str)
rustywind-core/src/defaults.rs:5029
Functiontest_regex_matches_classes_with_special_characters
(haystack: &str)
rustywind-core/src/defaults.rs:5021
Functiontest_regex_matches_multiple_classes_with_arbitrary_values
(haystack: &str)
rustywind-core/src/defaults.rs:5013
Functiontest_regex_matches_negative_class_names
(haystack: &str)
rustywind-core/src/defaults.rs:5005
Functiontest_regex_matches_tailwind_class_with_arbitrary_value
(haystack: &str)
rustywind-core/src/defaults.rs:4997
Functiontest_regex_matches_tailwind_classes
(haystack: &str)
rustywind-core/src/defaults.rs:4989
Functiontest_rewrap_wrapped_classes
(input: Vec<&'a str>, wrapping: ClassWrapping, output: &str)
rustywind-core/src/app.rs:514
Functiontest_sort_classes_vec
(input: impl IntoIterator<Item = &'a str>, output: Vec<&str>)
rustywind-core/src/app.rs:227
Functiontest_sort_file_contents
(app: &RustyWind, input: &str, output: &str)
rustywind-core/src/app.rs:465
Functiontest_unusual_use_cases
( regex_overwrite: Option<&str>, class_wrapping: ClassWrapping, input: &str, o
rustywind-core/src/app.rs:544
Functiontest_unwrap_wrapped_classes
(input: &str, wrapping: ClassWrapping, output: Vec<&str>)
rustywind-core/src/app.rs:487
Methodto_possible_value
(&self)
rustywind-cli/src/options.rs:49
Methodvalue_variants
()
rustywind-cli/src/options.rs:41
Functionverify_cli
()
rustywind-cli/src/main.rs:288