MCPcopy Create free account

hub / github.com/archlinux/alpm / functions

Functions1,873 in github.com/archlinux/alpm

↓ 1 callersFunctiontest_files
Entry point for testing file handling binaries for official ArchLinux packages, source repositories and databases. This function relegates to functio
dev-scripts/src/commands.rs:34
↓ 1 callersMethodtext
Returns the inner string slice independent of [`VersionSegment`] variant.
alpm-types/src/version/comparison.rs:99
↓ 1 callersFunctiontimestamp
Parse a Unix timestamp. In mtree, this is a float for some reason, even though the decimal place is always a `0`.
alpm-mtree/src/parser.rs:179
↓ 1 callersMethodtoggleRule
(ruleId)
alpm-lint-website/static/js/lint-rules.js:35
↓ 1 callersMethodupdateURL
(ruleId)
alpm-lint-website/static/js/lint-rules.js:85
↓ 1 callersMethodupdate_or_clone
Ensure we have a bare clone of aur.git locally. Update if already present.
dev-scripts/src/sync/aur.rs:48
↓ 1 callersFunctionupdate_repo
Update a local git repository to the newest state. Resets any local changes in case in each repository beforehand to prevent any conflicts.
dev-scripts/src/sync/pkgsrc.rs:198
↓ 1 callersFunctionvalidate
Validate a file according to a BUILDINFO schema. This is a thin wrapper around [`parse`] that only checks if the file is valid.
alpm-buildinfo/src/commands.rs:137
↓ 1 callersFunctionvalidate
Validate a package repository desc file by parsing it.
alpm-repo-db/src/desc/commands.rs:153
↓ 1 callersFunctionvalidate
A small wrapper around the parsing of an MTREE file that simply ensures that there were no errors. For all possible errors, check the [parse] functio
alpm-mtree/src/commands.rs:34
↓ 1 callersFunctionvalidate
Validates a SRCINFO file from a path or stdin. Wraps the [`parse`] function and allows to ensure that no errors occurred during parsing.
alpm-srcinfo/src/commands.rs:75
↓ 1 callersFunctionvalidate
Validate a DB desc file by parsing it.
alpm-db/src/desc/commands.rs:143
↓ 1 callersFunctionvalidate
Validate a file according to a PKGINFO schema. This is a thin wrapper around [`parse`] that only checks if the file is valid. ## Errors Returns an
alpm-pkginfo/src/commands.rs:163
↓ 1 callersFunctionvalidate_input
Validates [`alpm-repo-files`] data. If no `input_file` is provided, data is read from [`stdin`]. # Errors Returns an error if - `input_file` is pr
alpm-repo-db/src/bin/alpm-repo-files.rs:192
↓ 1 callersFunctionvalidate_input
Validates [`alpm-db-files`] data. If no `input_file` is provided, data is read from [`stdin`]. # Errors Returns an error if - `input_file` is prov
alpm-db/src/bin/alpm-db-files.rs:192
↓ 1 callersFunctionwarmup_ssh_session
Create a new ssh connection that doesn't get bound to a given session. This allows that session to be reused, effectively eliminating the need to auth
dev-scripts/src/sync/pkgsrc.rs:184
↓ 1 callersMethodwrite_fmt
(&mut self, fmt: std::fmt::Arguments<'_>)
alpm-compress/src/compression/encoder.rs:227
↓ 1 callersMethodwrite_vectored
(&mut self, bufs: &[std::io::IoSlice<'_>])
alpm-compress/src/compression/encoder.rs:197
Method__iter__
(&self)
python-alpm/src/types/system.rs:254
Method__len__
(&self)
python-alpm/src/types/system.rs:295
Method__next__
(&mut self)
python-alpm/src/types/system.rs:258
Method__repr__
(&self)
python-alpm/src/types/relation.rs:115
Method__repr__
(&self)
python-alpm/src/types/url.rs:26
Method__repr__
(&self)
python-alpm/src/types/source.rs:44
Method__repr__
(&self)
python-alpm/src/types/requirement.rs:28
Method__repr__
(&self)
python-alpm/src/types/version.rs:18
Method__repr__
(&self)
python-alpm/src/types/env.rs:66
Method__repr__
(&self)
python-alpm/src/types/path.rs:24
Method__repr__
(&self)
python-alpm/src/types/license.rs:30
Method__repr__
(&self)
python-alpm/src/types/openpgp.rs:62
Method__repr__
(&self)
python-alpm/src/types/system.rs:80
Method__repr__
(&self)
python-alpm/src/srcinfo/schema.rs:45
Method__repr__
(&self)
python-alpm/src/srcinfo/source_info/v1/mod.rs:63
Method__repr__
(&self)
python-alpm/src/srcinfo/source_info/v1/package_base.rs:355
Method__repr__
(&self)
python-alpm/src/srcinfo/source_info/v1/package.rs:331
Method__repr__
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:188
Method__str__
(&self)
python-alpm/src/types/relation.rs:126
Method__str__
(&self)
python-alpm/src/types/url.rs:22
Method__str__
(&self)
python-alpm/src/types/source.rs:40
Method__str__
(&self)
python-alpm/src/types/requirement.rs:35
Method__str__
(&self)
python-alpm/src/types/version.rs:22
Method__str__
(&self)
python-alpm/src/types/env.rs:74
Method__str__
(&self)
python-alpm/src/types/path.rs:20
Method__str__
(&self)
python-alpm/src/types/license.rs:34
Method__str__
(&self)
python-alpm/src/types/openpgp.rs:66
Method__str__
(&self)
python-alpm/src/types/system.rs:58
Method__str__
(&self)
python-alpm/src/srcinfo/schema.rs:41
Method__str__
(&self)
python-alpm/src/srcinfo/source_info/v1/mod.rs:59
Method__str__
(&self)
python-alpm/src/srcinfo/source_info/v1/package_base.rs:351
Method__str__
(&self)
python-alpm/src/srcinfo/source_info/v1/package.rs:327
Method__str__
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:184
Functionabsolute_dir_new_creates_dir
()
alpm-package/src/package.rs:1207
Functionabsolute_dir_new_fails
()
alpm-package/src/package.rs:1223
Functionabsolute_dir_utilities
()
alpm-package/src/package.rs:1251
Methodarchitecture
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:89
Methodarchitecture
Returns the [`Architecture`] of the current variant. Can be used to extract the architecture without knowing which variant this is.
alpm-srcinfo/src/source_info/parser.rs:948
Methodarchitecture
Returns the [`Architecture`]. # Examples ``` use std::str::FromStr; use alpm_types::{InstalledPackage, SystemArchitecture}; # fn main() -> Result<
alpm-types/src/env.rs:581
Methodarchitecture
Returns the [`Architecture`]. # Examples ``` use std::str::FromStr; use alpm_types::{PackageFileName, SystemArchitecture}; # fn main() -> Result<(
alpm-types/src/package/file_name.rs:158
Methodarchitecture
Returns the optional [`Architecture`]. # Note If `self` is a [`BuildToolVersion::Makepkg`] this method always returns [`None`].
alpm-types/src/version/buildtool.rs:88
Functionarchitecture_format_string
(#[case] arch: Architecture, #[case] arch_str: &str)
alpm-types/src/system.rs:626
Functionarchitecture_from_string
(#[case] input: &str, #[case] arch: Architecture)
alpm-types/src/system.rs:607
Functionarchitecture_specific_unsafe_checksum_fails
()
alpm-lint/tests/lint_rule_tests/source_info/unsafe_checksum.rs:61
Functionarchitecture_suffix
Recognizes and returns the architecture suffix of a keyword, if it exists. Returns [`None`] if no architecture suffix is found. ## Examples ```txt s
alpm-srcinfo/src/source_info/parser.rs:144
Functionarchitectures_format_display
(#[case] archs: Architectures, #[case] archs_str: &str)
alpm-types/src/system.rs:669
Functionarchitectures_from_vec
( #[case] archs: Vec<Architecture>, #[case] expected: Result<Architectures, Error>, )
alpm-types/src/system.rs:657
Methodas_ref
(&self)
alpm-package/src/config.rs:87
Methodas_ref
Returns a reference to the inner [`String`].
alpm-types/src/pkg.rs:93
Methodas_ref
(&self)
alpm-types/src/path.rs:175
Methodas_ref
(&self)
alpm-types/src/openpgp.rs:345
Methodas_ref
(&self)
alpm-types/src/system.rs:243
Methodas_str
Returns the name of the shared object as a string slice.
alpm-types/src/name.rs:244
Functionassert_metadata_entry
Small helper function to assert that an entry is a metadata entry and then returns that entry.
alpm-package/tests/integration.rs:958
Methodb2_checksum
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:212
Methodbackups
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:120
Methodbackups
Returns the backup entries associated with this [`DbFiles`].
alpm-db/src/files/mod.rs:61
Methodbackups
Returns the backup entries tracked for this file listing.
alpm-db/src/files/v1.rs:403
Methodbase
(&self)
python-alpm/src/srcinfo/source_info/v1/mod.rs:36
Methodbuild
(&self)
python-alpm/src/types/version.rs:107
Functionbuild_dir_from_string
(#[case] s: &str, #[case] result: Result<BuildDirectory, Error>)
alpm-types/src/path.rs:452
Functionbuild_environment_option
(#[case] input: &str, #[case] expected: BuildEnvironmentOption)
alpm-types/src/env.rs:847
Functionbuildinfov1
()
alpm-buildinfo/src/build_info/v1.rs:240
Functionbuildinfov1_from_str
(valid_buildinfov1: String)
alpm-buildinfo/src/build_info/v1.rs:234
Functionbuildinfov1_from_str_duplicate_fail
(mut valid_buildinfov1: String, #[case] duplicate: &str)
alpm-buildinfo/src/build_info/v1.rs:273
Functionbuildinfov1_invalid_schemaversion
(invalid_format_buildinfov1: String)
alpm-buildinfo/src/build_info/v1.rs:258
Functionbuildinfov2
()
alpm-buildinfo/src/build_info/v2.rs:287
Functionbuildinfov2_from_str
(#[case] buildinfo: &str)
alpm-buildinfo/src/build_info/v2.rs:281
Functionbuildinfov2_from_str_duplicate_fail
(#[case] duplicate: &str)
alpm-buildinfo/src/build_info/v2.rs:326
Functionbuildinfov2_invalid_schemaversion
()
alpm-buildinfo/src/build_info/v2.rs:308
Functionbuildtool_matches_restriction
( #[case] buildtool: &str, #[case] restrictions: Vec<Name>, #[case] result: bool,
alpm-types/src/name.rs:339
Functionbuildtool_new_with_restriction
( #[case] buildtool: &str, #[case] restrictions: Vec<Name>, #[case] result: Result<Bui
alpm-types/src/name.rs:325
Methodcalculate_from
Calculate a new Checksum for data that may be represented as a list of bytes ## Examples ``` use alpm_types::{digests::Blake2b512, Checksum}; assert
alpm-types/src/checksum.rs:295
Methodchangelog
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:94
Functioncheck
()
alpm-lint/tests/integration.rs:59
Methodcheck_dependencies
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:165
Functioncheck_json_output
()
alpm-lint/tests/integration.rs:95
Functioncheck_pretty_output
()
alpm-lint/tests/integration.rs:122
Functioncheck_valid_srcinfo
()
alpm-lint/tests/integration.rs:78
Functionchecksum_blake2b512
()
alpm-types/src/checksum.rs:792
Functionchecksum_crc32cksum
()
alpm-types/src/checksum.rs:905
Functionchecksum_parse_error
(#[case] input: &str)
alpm-types/src/checksum.rs:928
← previousnext →401–500 of 1,873, ranked by callers