MCPcopy Create free account

hub / github.com/archlinux/alpm / functions

Functions1,873 in github.com/archlinux/alpm

Functioninvalid_files
(#[files("tests/pkgbuild_invalid/*.pkgbuild")] case: PathBuf)
alpm-srcinfo/tests/pkgbuild_invalid.rs:16
Functioninvalid_format_buildinfov1
()
alpm-buildinfo/src/build_info/v1.rs:213
Functioninvalid_makepkg_option
(#[case] input: &str)
alpm-types/src/env.rs:800
Functioninvalid_package_option
(#[case] input: &str)
alpm-types/src/env.rs:829
Functioninvalid_packager
(#[case] input: &str)
alpm-types/src/openpgp.rs:650
Functioninvalid_pkgrel
(#[case] pkgrel: &str)
alpm-types/src/version/base.rs:397
Functioninvalid_pkgver
(#[case] pkgver: &str)
alpm-types/src/version/base.rs:358
Functioninvalid_scriptlet
(#[case] scriptlet: &str)
alpm-package/src/scriptlet.rs:162
Functioninvalid_shared_object_name_parser
(#[case] input: &str)
alpm-types/src/name.rs:399
Functioninvalid_soname_lookup_directory_parser
(#[case] input: &str)
alpm-types/src/path.rs:522
Functioninvalid_sonamev1_parser
(#[case] input: &str)
alpm-types/src/relation/soname.rs:823
Functioninvalid_sonamev2_parser
(#[case] input: &str)
alpm-types/src/relation/soname.rs:919
Functioninvalid_sonamev2_parser
(#[case] input: &str)
alpm-types/src/relation/composite.rs:172
Functioninvalid_spdx_license_passes
()
alpm-lint/tests/lint_rule_tests/source_info/invalid_spdx_license.rs:17
Functioninvalid_system_architecture_from_string
(#[case] input: &str)
alpm-types/src/system.rs:573
Functioninvalid_unknown_section
()
alpm-repo-db/tests/integration.rs:211
Functioninvalid_unknown_section
()
alpm-db/tests/desc_cli.rs:207
Functioninvalid_version_comparison
(#[case] comparison: &str)
alpm-types/src/version/requirement.rs:482
Functioninvalid_version_requirement
(#[case] requirement: &str)
alpm-types/src/version/requirement.rs:516
Methodis_any
(&self)
python-alpm/src/types/system.rs:207
Methodis_data_file
(entry: &TarballEntry)
alpm-package/src/package.rs:704
Methodis_empty
Returns `true` if there are no entries in the architectures list.
alpm-types/src/system.rs:384
Methodis_human_readable
(&self)
alpm-parsers/src/custom_ini/de.rs:161
Methodis_intersection
Checks whether another [`VersionRequirement`] forms an intersection with this one. The intersection operation `∩` on versions simply checks if there
alpm-types/src/version/requirement.rs:149
Methodis_metadata_file
(entry: &TarballEntry)
alpm-package/src/package.rs:694
Methodis_satisfied_by
(&self, ver: crate::types::version::Version)
python-alpm/src/types/requirement.rs:24
Methodis_satisfied_by
Returns `true` if the requirement is satisfied by the given package version. ## Examples ``` use std::str::FromStr; use alpm_types::{Version, Versi
alpm-types/src/version/requirement.rs:86
Methodis_scriplet_file
(entry: &TarballEntry)
alpm-package/src/package.rs:689
Methodis_spdx
(&self)
python-alpm/src/types/license.rs:26
Methodis_symlink
Checks whether the [`TarballEntry`] represents a symlink. Returns `true` if the [`TarballEntry`] represents a symlink, `false` otherwise. # Note Th
alpm-compress/src/tarball/reader.rs:204
Functionjson_compact
(#[case] schema: RepoDescSchema)
alpm-repo-db/tests/integration.rs:507
Functionjson_compact
(#[case] schema: DbDescSchema)
alpm-db/tests/desc_cli.rs:551
Functionjson_output
()
alpm-lint/tests/integration.rs:146
Functionjson_pretty
(#[case] schema: RepoDescSchema)
alpm-repo-db/tests/integration.rs:531
Functionjson_pretty
(#[case] schema: DbDescSchema)
alpm-db/tests/desc_cli.rs:575
Functionkey
Take all chars, until we hit a char that isn't allowed in a key.
alpm-parsers/src/custom_ini/parser.rs:63
Functionkey_value
Parse a single key value pair. The delimiter includes two surrounding spaces, i.e. ` = `. ## Examples ```ini key = value ```
alpm-parsers/src/custom_ini/parser.rs:75
Methodknown_variants
Get all known architecture variant names, including 'any'.
alpm-lint/src/lint_rules/source_info/unknown_architecture.rs:69
Methodlevel
The severity level of this lint rule. This is used to determine what lint messages should be shown to the user based on CLI flags and configuration.
alpm-lint/src/rule.rs:44
Methodlevel
(&self)
alpm-lint/src/lint_rules/source_info/no_architecture.rs:64
Methodlevel
(&self)
alpm-lint/src/lint_rules/source_info/invalid_spdx_license.rs:72
Methodlevel
(&self)
alpm-lint/src/lint_rules/source_info/unsafe_checksum.rs:101
Methodlevel
Returns the severity of the lint rule. Implement this to set a custom severity [`Level`] for the lint rule. The default implementation returns `Level
alpm-lint/examples/my_new_lint.rs:104
Methodlicenses
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:84
Functionline
Parse a single line consisting of a key value pair or a comment, followed by 0 or more newlines.
alpm-parsers/src/custom_ini/parser.rs:104
Functionlines
Parse multiple lines.
alpm-parsers/src/custom_ini/parser.rs:114
Functionlink
Consume all chars of a link until a newline or space is hit. Check [`decode_utf8_chars`] for more info on how special chars in paths are escaped.
alpm-mtree/src/parser.rs:225
Methodlint_rule_by_name
(&self, name: &ScopedName)
alpm-lint/src/lint_rules/store.rs:137
Methodlint_rules
Returns a reference to the map of all available and configured lint rules.
alpm-lint/src/lint_rules/store.rs:128
Methodlist_till_newline
Recognizes a [`Value::Array`] in a string slice while handling the surroundings. Consumes leading and trailing spaces while also consuming newlines.
alpm-pkgbuild/src/bridge/parser.rs:159
Functionlowercase_alphanum_underscore_names
()
alpm-lint/src/lint_rules/store.rs:343
Functionmain
The main entrypoint for the `alpm-buildinfo` executable. Returns an [`ExitCode::SUCCESS`] if the chosen command succeeded. Returns an [`ExitCode::FAI
alpm-buildinfo/src/main.rs:18
Functionmain
Runs the `alpm-repo-files` executable. Depending on [`Cli`], delegates to `alpm_repo_create`, `alpm_repo_format` or `alpm_repo_validate`. In case of
alpm-repo-db/src/bin/alpm-repo-files.rs:227
Functionmain
The main entrypoint for the `alpm-repo-desc` executable. Returns an [`ExitCode::SUCCESS`] if the chosen command succeeded. Returns an [`ExitCode::FAI
alpm-repo-db/src/bin/alpm-repo-desc.rs:18
Functionmain
The entry point for the `alpm-mtree` binary. Parse the cli arguments and call the respective alpm-mtree library functions
alpm-mtree/src/main.rs:17
Functionmain
The entry point for the `alpm-srcinfo` binary. Parses the CLI arguments and calls the respective [`alpm_srcinfo`] library functions.
alpm-srcinfo/src/main.rs:17
Functionmain
()
dev-scripts/src/main.rs:47
Functionmain
The main entrypoint for the `alpm-db-desc` executable. Returns an [`ExitCode::SUCCESS`] if the chosen command succeeded. Returns an [`ExitCode::FAILU
alpm-db/src/bin/alpm-db-desc.rs:18
Functionmain
Runs the `alpm-db-files` executable. Depending on [`Cli`], delegates to `alpm_db_create`, `alpm_db_format` or `alpm_db_validate`. In case of success,
alpm-db/src/bin/alpm-db-files.rs:227
Functionmain
()
alpm-lint/src/main.rs:13
Functionmain
()
alpm-lint/examples/my_new_lint.rs:235
Functionmain
()
alpm-soname/src/main.rs:16
Functionmain
Entry point when run as a script (e.g. ./tester.rs). Takes an optional JSON-encoded configuration as a command line argument. If no argument is provi
alpm-soname/tests/tester.rs:61
Functionmain
alpm-soname/tests/test_files/main.c:3
Functionmain
()
alpm-pkginfo/src/main.rs:15
Methodmajor
(&self)
python-alpm/src/types/version.rs:87
Methodmake_dependencies
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:170
Functionmakepkg_option
(#[case] input: &str, #[case] expected: MakepkgOption)
alpm-types/src/env.rs:792
Methodmd5_checksum
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:217
Functionmetadata_mismatch
()
alpm-package/src/input.rs:682
Functionminimal_version_comparison
( #[case] version_a: &str, #[case] version_b: &str, #[case] expected: Ordering, )
alpm-types/src/version/pkg_minimal.rs:444
Functionminimal_version_from_str_parse_error
(#[case] version: &str)
alpm-types/src/version/pkg_minimal.rs:385
Functionminimal_version_from_str_succeeds
( #[case] version: &str, #[case] expected: MinimalVersion, )
alpm-types/src/version/pkg_minimal.rs:358
Functionminimal_version_to_string
(#[case] input: &str)
alpm-types/src/version/pkg_minimal.rs:426
Functionminimal_version_try_from_version
( #[case] version: Version, #[case] expected: Result<MinimalVersion, Error>, )
alpm-types/src/version/pkg_minimal.rs:401
Methodminor
(&self)
python-alpm/src/types/version.rs:92
Functionmissing_newline_after_depends
()
alpm-srcinfo/tests/parser_whitespaces.rs:25
Functionmissing_newline_after_package
()
alpm-srcinfo/tests/parser_whitespaces.rs:9
Functionmissing_required_section_should_fail
()
alpm-repo-db/src/desc/v2.rs:746
Functionmissing_required_section_should_fail
()
alpm-repo-db/src/desc/v1.rs:745
Functionmissing_required_section_should_fail
()
alpm-db/src/desc/v1.rs:918
Functionmtree
Parse a given .MTREE file. Empty lines and comment lines are returned as `Statement::Ignored`. This is to provide a proper line-based representation
alpm-mtree/src/parser.rs:374
Functionmulti_file
(#[case] scope: LintScope, #[case] setup_files: FileFactory)
alpm-lint/tests/resources.rs:156
Functionmulti_file_missing_files
( #[case] scope: LintScope, #[case] create_partial_files: FileFactory, )
alpm-lint/tests/resources.rs:179
Functionmulti_group_included
()
alpm-lint/src/lint_rules/store.rs:623
Functionmulti_group_requires_all_groups
()
alpm-lint/src/lint_rules/store.rs:601
Methodname
(&self)
python-alpm/src/types/relation.rs:106
Methodname
(&self)
python-alpm/src/types/env.rs:57
Methodname
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:69
Methodname
(&self)
alpm-lint/src/lint_rules/source_info/undefined_architecture.rs:77
Methodname
(&self)
alpm-lint/src/lint_rules/source_info/no_architecture.rs:56
Methodname
(&self)
alpm-lint/src/lint_rules/source_info/invalid_spdx_license.rs:64
Methodname
(&self)
alpm-lint/src/lint_rules/source_info/duplicate_architecture.rs:56
Methodname
(&self)
alpm-lint/src/lint_rules/source_info/unknown_architecture.rs:82
Methodname
(&self)
alpm-lint/src/lint_rules/source_info/openpgp_key_id.rs:76
Methodname
(&self)
alpm-lint/src/lint_rules/source_info/unsafe_checksum.rs:93
Methodname
(&self)
alpm-lint/examples/my_new_lint.rs:86
Methodname
Return the name of the Packager
alpm-types/src/openpgp.rs:429
Methodname
Returns a reference to the [`Name`]. # Examples ``` use std::str::FromStr; use alpm_types::{Name, PackageFileName}; # fn main() -> Result<(), alpm
alpm-types/src/package/file_name.rs:108
Methodname
Return the name of the optional dependency
alpm-types/src/relation/base.rs:248
← previousnext →1,001–1,100 of 1,873, ranked by callers