MCPcopy Create free account

hub / github.com/archlinux/alpm / functions

Functions1,873 in github.com/archlinux/alpm

Methoddetect
Attempts to return all applicable lint scopes based on a provided `path`. Usually, when calling `alpm-lint check`, [`LintScope::detect`] is used to a
alpm-lint/src/scope.rs:152
Functiondetect_scope_in_directory
( #[case] files: Vec<&'static str>, #[case] expected: LintScope, )
alpm-lint/src/scope.rs:272
Functiondetect_scope_of_file
( #[case] file: &'static str, #[case] expected: LintScope, )
alpm-lint/src/scope.rs:330
Functiondir_with_entries
()
alpm-repo-db/tests/files_cli.rs:46
Functiondir_with_entries
()
alpm-db/tests/files_cli.rs:74
Functiondisabled_rules_take_precedence
()
alpm-lint/src/lint_rules/store.rs:578
Functiondisplay_round_trip
(#[case] schema: RepoDescSchema)
alpm-repo-db/tests/integration.rs:566
Functiondisplay_round_trip
(#[case] schema: DbDescSchema)
alpm-db/tests/desc_cli.rs:606
Methoddocumentation
(&self)
alpm-lint/src/lint_rules/source_info/undefined_architecture.rs:85
Methoddocumentation
(&self)
alpm-lint/src/lint_rules/source_info/no_architecture.rs:68
Methoddocumentation
(&self)
alpm-lint/src/lint_rules/source_info/invalid_spdx_license.rs:76
Methoddocumentation
(&self)
alpm-lint/src/lint_rules/source_info/duplicate_architecture.rs:64
Methoddocumentation
(&self)
alpm-lint/src/lint_rules/source_info/unknown_architecture.rs:90
Methoddocumentation
(&self)
alpm-lint/src/lint_rules/source_info/openpgp_key_id.rs:88
Methoddocumentation
(&self)
alpm-lint/src/lint_rules/source_info/unsafe_checksum.rs:105
Methoddocumentation
Returns the documentation for the lint rule. By default, this method uses the [`documented`] crate to expose the implementation's doc string as a con
alpm-lint/examples/my_new_lint.rs:135
Functionduplicate_architecture_fails
(#[case] architectures: Architectures)
alpm-lint/tests/lint_rule_tests/source_info/duplicate_architecture.rs:39
Functionduplicate_architecture_passes
(#[case] architectures: Architectures)
alpm-lint/tests/lint_rule_tests/source_info/duplicate_architecture.rs:17
Functionelf_architecture_format_display
( #[case] arch: ElfArchitectureFormat, #[case] arch_str: &str, )
alpm-types/src/system.rs:687
Functionelf_architecture_format_from_string
( #[case] s: &str, #[case] arch: Result<ElfArchitectureFormat, ParseError>, )
alpm-types/src/system.rs:677
Methodemail
Return the email of the Packager
alpm-types/src/openpgp.rs:434
Functionensure_correct_syntax
(#[files("tests/correct_syntax_inputs/*")] case: PathBuf)
alpm-mtree/tests/correct_syntax.rs:15
Functionensure_desc_parse_errors
(#[files("tests/parse_errors/desc/*")] case: PathBuf)
alpm-db/tests/parse_errors.rs:20
Functionensure_errors_v1
(#[files("tests/parse_error_inputs/*")] case: PathBuf)
alpm-mtree/tests/parse_errors.rs:22
Functionensure_errors_v1
(#[files("tests/interpreter_error_inputs/*")] case: PathBuf)
alpm-mtree/tests/interpreter_errors.rs:24
Functionensure_files_parse_errors
( #[files("tests/parse_errors/files/*.files")] file: PathBuf, )
alpm-db/tests/parse_errors.rs:59
Functionensure_parse_errors
(#[files("tests/parse_errors/desc/*.desc")] case: PathBuf)
alpm-repo-db/tests/parse_errors.rs:16
Functionensure_parse_errors
(#[files("tests/parse_errors/*")] case: PathBuf)
alpm-srcinfo/tests/parse_errors.rs:17
Functionepoch
(#[case] version: &str, #[case] result: Result<Epoch, Error>)
alpm-types/src/version/base.rs:313
Functionepoch_parse_failure
(#[case] input: &str, #[case] err_snippet: &str)
alpm-types/src/version/base.rs:321
Methodeq
(&self, other: &Self)
alpm-types/src/version/comparison.rs:514
Methodeq
(&self, other: &PackageRelation)
alpm-types/src/relation/composite.rs:45
Functionerror_format_string
(#[case] error_str: &str, #[case] error: Error)
alpm-types/src/error.rs:263
Methodexclusive_property_parser
Recognizes keyword assignments exclusive to the `pkgbase` section in SRCINFO data. This function backtracks in case no keyword in this group matches.
alpm-srcinfo/src/source_info/parser.rs:522
Functionexpected
()
alpm-parsers/src/custom_ini/de.rs:383
Functionextra_data_entry_from_str
( #[case] data: &str, #[case] key: &str, #[case] value: &str, )
alpm-types/src/pkg.rs:355
Functionextra_data_entry_from_str_error
( #[case] extra_data: &str, #[case] result: Result<ExtraDataEntry, Error>, )
alpm-types/src/pkg.rs:371
Functionextra_data_invalid
(#[case] xdata: Vec<ExtraDataEntry>)
alpm-types/src/pkg.rs:381
Functionextra_data_valid
(#[case] xdata: Vec<ExtraDataEntry>)
alpm-types/src/pkg.rs:389
Methodextra_links
Returns a map of additional associated links for this lint rule. The map provides the links as tuples of URL name and URL (i.e. `BTreeMap<URL-Name, U
alpm-lint/src/rule.rs:108
Methodextra_links
(&self)
alpm-lint/src/lint_rules/source_info/undefined_architecture.rs:152
Methodextra_links
(&self)
alpm-lint/src/lint_rules/source_info/no_architecture.rs:98
Methodextra_links
Return the associated links for this lint rule.
alpm-lint/src/lint_rules/source_info/invalid_spdx_license.rs:139
Methodextra_links
(&self)
alpm-lint/src/lint_rules/source_info/duplicate_architecture.rs:100
Methodextra_links
(&self)
alpm-lint/src/lint_rules/source_info/unknown_architecture.rs:147
Methodextra_links
Returns the associated links for a lint rule. By default, this method returns [`None`]. If your lint rule documentation should be associated with so
alpm-lint/examples/my_new_lint.rs:225
Functionfail_on_bridge_failure
()
alpm-pkgbuild/src/bridge/mod.rs:219
Functionfail_on_directory
()
alpm-pkgbuild/src/bridge/mod.rs:152
Functionfail_on_missing_file
()
alpm-pkgbuild/src/bridge/mod.rs:174
Functionfail_on_no_filename
()
alpm-pkgbuild/src/bridge/mod.rs:196
Functionfail_to_detect_scope_in_directory
(#[case] files: Vec<&'static str>)
alpm-lint/src/scope.rs:299
Functionfail_to_parse_package_filename
(#[case] s: &str)
alpm-types/tests/integration.rs:46
Functionfails_on_regular_file
()
alpm-repo-db/tests/files_cli.rs:126
Functionfails_on_regular_file
()
alpm-db/tests/files_cli.rs:154
Functionfails_with_input_from_file
(#[case] input: &str)
alpm-repo-db/tests/files_cli.rs:473
Functionfails_with_input_from_file
(#[case] input: &str)
alpm-db/tests/files_cli.rs:519
Functionfails_with_input_on_stdin
(#[case] input: &str)
alpm-repo-db/tests/files_cli.rs:458
Functionfails_with_input_on_stdin
(#[case] input: &str)
alpm-db/tests/files_cli.rs:505
Methodfield_fmt
Takes a field name with an optional architecture and returns the correct [SRCINFO] formatting as bold text. [SRCINFO]: https://alpm.archlinux.page/sp
alpm-lint/src/issue/mod.rs:231
Functionfile_output
()
alpm-lint/tests/integration.rs:161
Methodfilename
Returns the filename of the source if it is set.
alpm-types/src/source.rs:38
Functionfiles_from_file_with_backup_section
()
alpm-db/src/files/mod.rs:400
Functionfiles_from_file_with_schema_fails_without_header
()
alpm-repo-db/src/files/mod.rs:341
Functionfiles_from_file_with_schema_succeeds
(#[case] data: &str, #[case] len: usize)
alpm-repo-db/src/files/mod.rs:322
Functionfiles_from_file_with_schema_succeeds
(#[case] data: &str, #[case] len: usize)
alpm-db/src/files/mod.rs:384
Functionfiles_from_str
()
alpm-repo-db/src/files/mod.rs:283
Functionfiles_from_str
()
alpm-db/src/files/mod.rs:314
Functionfiles_from_str_fails_without_header
()
alpm-repo-db/src/files/mod.rs:304
Functionfiles_from_str_with_backup
()
alpm-db/src/files/mod.rs:334
Functionfiles_schema_default
()
alpm-repo-db/src/files/schema.rs:248
Functionfiles_schema_default
()
alpm-db/src/files/schema.rs:272
Functionfiles_schema_derive_from_file_fails
(#[case] data: &str)
alpm-repo-db/src/files/schema.rs:216
Functionfiles_schema_derive_from_file_fails
()
alpm-db/src/files/schema.rs:240
Functionfiles_schema_derive_from_file_succeeds
(#[case] data: &str)
alpm-repo-db/src/files/schema.rs:201
Functionfiles_schema_derive_from_file_succeeds
(#[case] data: &str)
alpm-db/src/files/schema.rs:227
Functionfiles_schema_inner
()
alpm-repo-db/src/files/schema.rs:240
Functionfiles_schema_inner
()
alpm-db/src/files/schema.rs:264
Functionfiles_to_string
(#[case] input: Vec<PathBuf>, #[case] expected_output: &str)
alpm-repo-db/src/files/mod.rs:274
Functionfiles_to_string
(#[case] input: Vec<PathBuf>, #[case] expected_output: &str)
alpm-db/src/files/mod.rs:277
Functionfiles_to_string_with_backup
()
alpm-db/src/files/mod.rs:286
Functionfilesv1_from_str_fails_without_header
()
alpm-repo-db/src/files/v1.rs:520
Functionfilesv1_from_str_rejects_absolute_paths
()
alpm-repo-db/src/files/v1.rs:581
Functionfilesv1_from_str_rejects_absolute_paths
()
alpm-db/src/files/v1.rs:909
Functionfilesv1_from_str_skips_null_backup_entries
()
alpm-db/src/files/v1.rs:920
Functionfilesv1_try_from_pathbuf_succeeds
()
alpm-repo-db/src/files/v1.rs:484
Functionfilesv1_try_from_pathbuf_succeeds
()
alpm-db/src/files/v1.rs:748
Functionfilesv1_try_from_pathbufs_fails
( #[case] paths: Vec<PathBuf>, #[case] expected_errors: RepoFilesV1PathErrors, )
alpm-repo-db/src/files/v1.rs:561
Functionfilesv1_try_from_pathbufs_fails
( #[case] paths: Vec<PathBuf>, #[case] expected_errors: FilesV1PathErrors, )
alpm-db/src/files/v1.rs:817
Functionfilesv1_try_from_pathbufs_succeeds
( #[case] paths: Vec<PathBuf>, #[case] len: usize, )
alpm-repo-db/src/files/v1.rs:507
Functionfilesv1_try_from_pathbufs_succeeds
( #[case] paths: Vec<PathBuf>, #[case] len: usize, )
alpm-db/src/files/v1.rs:771
Functionfilesv1_try_from_paths_and_backups_fails
( #[case] paths: Vec<PathBuf>, #[case] backup: Vec<BackupEntry>, #[case] expected_erro
alpm-db/src/files/v1.rs:888
Functionfilesv1_try_from_paths_and_backups_succeeds
()
alpm-db/src/files/v1.rs:837
Functionfilters_by_level
()
alpm-lint/src/lint_rules/store.rs:668
Functionfilters_by_scope
()
alpm-lint/src/lint_rules/store.rs:514
Methodfinalize_into
(mut self, out: &mut Output<Self>)
alpm-types/src/checksum.rs:619
Methodfinish
Finishes the compression stream. # Error Returns an error if the wrapped encoder fails.
alpm-compress/src/compression/encoder.rs:139
Methodfmt
(&self, fmt: &mut Formatter)
alpm-buildinfo/src/schema.rs:205
Methodfmt
(&self, fmt: &mut Formatter)
alpm-buildinfo/src/cli.rs:40
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
alpm-buildinfo/src/build_info/mod.rs:279
Methodfmt
(&self, fmt: &mut Formatter)
alpm-buildinfo/src/build_info/v2.rs:158
← previousnext →601–700 of 1,873, ranked by callers