SYMBOL INDEX (128 symbols across 23 files) FILE: cli/build.rs function configure_rerun_if_head_commit_changed (line 24) | fn configure_rerun_if_head_commit_changed() { function main (line 52) | fn main() -> shadow_rs::SdResult<()> { FILE: cli/src/main.rs function main (line 24) | fn main() { FILE: cli/src/subcommand.rs type SubCommand (line 30) | pub enum SubCommand { method run (line 67) | pub fn run(self) { type SharedOptions (line 40) | struct SharedOptions { type SharedEditOptions (line 54) | struct SharedEditOptions { type CommandCheck (line 77) | pub struct CommandCheck { method run (line 111) | fn run(self) { type CheckContext (line 90) | struct CheckContext { method on_unknown (line 96) | fn on_unknown(&mut self, path: &Path) { method on_matched (line 100) | fn on_matched(&mut self, _: &HeaderMatcher, _: Document) -> Result<(), E... method on_not_matched (line 104) | fn on_not_matched(&mut self, _: &HeaderMatcher, document: Document) -> R... type CommandFormat (line 135) | pub struct CommandFormat { method run (line 182) | fn run(self) { type FormatContext (line 143) | struct FormatContext { method on_unknown (line 150) | fn on_unknown(&mut self, path: &Path) { method on_matched (line 154) | fn on_matched(&mut self, _: &HeaderMatcher, _: Document) -> Result<(), E... method on_not_matched (line 158) | fn on_not_matched(&mut self, header: &HeaderMatcher, mut doc: Document) ... type CommandRemove (line 211) | pub struct CommandRemove { method run (line 259) | fn run(self) { type RemoveContext (line 219) | struct RemoveContext { method remove (line 226) | fn remove(&mut self, doc: &mut Document) -> Result<(), Error> { method on_unknown (line 245) | fn on_unknown(&mut self, path: &Path) { method on_matched (line 249) | fn on_matched(&mut self, _: &HeaderMatcher, mut doc: Document) -> Result... method on_not_matched (line 253) | fn on_not_matched(&mut self, _: &HeaderMatcher, mut doc: Document) -> Re... function write_to_file (line 287) | fn write_to_file(path: &Path, result: impl Serialize) { function check_unknown_files (line 298) | fn check_unknown_files(unknown: &[String], fail_if_unknown: bool) -> bool { function default_config (line 310) | fn default_config() -> PathBuf { FILE: cli/src/version.rs type BuildInfo (line 20) | pub struct BuildInfo { function build_info (line 33) | pub const fn build_info() -> BuildInfo { function version (line 48) | pub const fn version() -> &'static str { FILE: fmt/src/config/mod.rs type Config (line 30) | pub struct Config { type Git (line 60) | pub struct Git { method default (line 66) | fn default() -> Self { type FeatureGate (line 76) | pub enum FeatureGate { method is_enable (line 86) | pub fn is_enable(&self) -> bool { method is_disable (line 94) | pub fn is_disable(&self) -> bool { method is_auto (line 102) | pub fn is_auto(&self) -> bool { type Mapping (line 112) | pub enum Mapping { method header_type (line 149) | pub fn header_type(&self, filename: &str) -> Option { method eq (line 124) | fn eq(&self, other: &Self) -> bool { method hash (line 140) | fn hash(&self, state: &mut H) { function default_cwd (line 170) | fn default_cwd() -> PathBuf { function default_keywords (line 174) | fn default_keywords() -> Vec { function de_properties (line 178) | fn de_properties<'de, D>(de: D) -> Result, D::Er... function de_mapping (line 199) | fn de_mapping<'de, D>(de: D) -> Result, D::Error> FILE: fmt/src/document/factory.rs type DocumentFactory (line 32) | pub struct DocumentFactory { method new (line 42) | pub fn new( method create_document (line 58) | pub fn create_document(&self, filepath: &Path) -> Result Option { function git_time_to_year (line 118) | fn git_time_to_year(t: gix::date::Time) -> Option { FILE: fmt/src/document/mod.rs type Attributes (line 41) | pub struct Attributes { type Document (line 50) | pub struct Document { method new (line 60) | pub fn new( method is_unsupported (line 89) | pub fn is_unsupported(&self) -> bool { method header_detected (line 94) | pub fn header_detected(&self) -> bool { method header_matched (line 99) | pub fn header_matched( method read_file_first_lines (line 124) | fn read_file_first_lines(&self, header: &HeaderMatcher) -> Result Resu... method update_header (line 149) | pub fn update_header(&mut self, header: &HeaderMatcher) -> Result<(), ... method remove_header (line 159) | pub fn remove_header(&mut self) { method save (line 167) | pub fn save(&mut self, filepath: Option<&PathBuf>) -> Result<(), Error> { method merge_properties (line 173) | pub(crate) fn merge_properties(&self, s: &str) -> Result { FILE: fmt/src/document/model.rs type DocumentType (line 24) | pub struct DocumentType { function default_mapping (line 31) | pub fn default_mapping() -> Vec { FILE: fmt/src/error.rs type Error (line 16) | pub struct Error { method new (line 21) | pub fn new(message: impl Into) -> Self { method fmt (line 29) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: fmt/src/git.rs type GitContext (line 35) | pub struct GitContext { function discover (line 40) | pub fn discover(basedir: &Path, config: config::Git) -> Result FeatureGate { type GitFileAttrs (line 95) | pub struct GitFileAttrs { function resolve_file_attrs (line 101) | pub fn resolve_file_attrs( FILE: fmt/src/header/matcher.rs type HeaderMatcher (line 21) | pub struct HeaderMatcher { method new (line 29) | pub fn new(header_content: String) -> Self { method build_for_definition (line 48) | pub fn build_for_definition(&self, def: &HeaderDef) -> String { method header_content_lines_count (line 82) | pub fn header_content_lines_count(&self) -> usize { method header_content_one_line (line 86) | pub fn header_content_one_line(&self) -> &str { method fmt (line 92) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { FILE: fmt/src/header/model.rs type HeaderDef (line 27) | pub struct HeaderDef { method is_skip_line (line 47) | pub fn is_skip_line(&self, line: &str) -> bool { method is_first_header_line (line 55) | pub fn is_first_header_line(&self, line: &str) -> bool { method is_last_header_line (line 63) | pub fn is_last_header_line(&self, line: &str) -> bool { function default_headers (line 70) | pub fn default_headers() -> HashMap { function deserialize_header_definitions (line 75) | pub fn deserialize_header_definitions(value: String) -> Result std::io::Result { method reset_to (line 306) | pub fn reset_to(&mut self, pos: usize) { method reset (line 311) | pub fn reset(&mut self) { method rewind (line 315) | pub fn rewind(&mut self) { method end_reached (line 319) | pub fn end_reached(&self) -> bool { method next_line (line 323) | pub fn next_line(&mut self) -> Option { method content (line 342) | pub fn content(&self) -> String { method insert (line 346) | pub fn insert(&mut self, index: usize, s: &str) { method delete (line 350) | pub fn delete(&mut self, start: usize, end: usize) { method fmt (line 271) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { FILE: fmt/src/lib.rs function default_true (line 24) | const fn default_true() -> bool { FILE: fmt/src/license/mod.rs type HeaderSource (line 16) | pub struct HeaderSource { function bundled_headers (line 31) | pub(crate) fn bundled_headers(name: &str) -> Option { FILE: fmt/src/processor.rs type Callback (line 42) | pub trait Callback { method on_unknown (line 44) | fn on_unknown(&mut self, path: &Path); method on_matched (line 47) | fn on_matched(&mut self, header: &HeaderMatcher, document: Document) -... method on_not_matched (line 50) | fn on_not_matched(&mut self, header: &HeaderMatcher, document: Documen... function check_license_header (line 53) | pub fn check_license_header( function load_additional_headers (line 175) | fn load_additional_headers( function load_header_sources (line 218) | fn load_header_sources(config: &Config, config_dir: &Path) -> Result Result, Error> { function select_files_with_ignore (line 117) | fn select_files_with_ignore( function select_files_with_git (line 163) | fn select_files_with_git( constant INCLUDES (line 276) | pub const INCLUDES: [&str; 1] = ["**"]; constant EXCLUDES (line 277) | pub const EXCLUDES: [&str; 140] = [ FILE: fmt/tests/tests.rs function test_remove_file_only_header (line 22) | fn test_remove_file_only_header() { function test_two_headers_should_only_remove_the_first (line 36) | fn test_two_headers_should_only_remove_the_first() { FILE: tests/attrs_and_props/main.rs function main (line 1) | fn main() { FILE: tests/bom_issue/headless_bom.cs class SomeFakeClass (line 5) | public class SomeFakeClass method SomeFakeMethod (line 7) | public void SomeFakeMethod() FILE: tests/disk_file_created_year/main.rs function main (line 1) | fn main() { FILE: tests/it.py function diff_files (line 24) | def diff_files(file1, file2): function drive (line 40) | def drive(name, files, create_temp_copy=False): FILE: tests/load_header_path/main.rs function main (line 1) | fn main() {