Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/archlinux/alpm
/ functions
Functions
1,873 in github.com/archlinux/alpm
⨍
Functions
1,873
◇
Types & classes
375
↳
Endpoints
4
↓ 1 callers
Function
test_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 callers
Method
text
Returns the inner string slice independent of [`VersionSegment`] variant.
alpm-types/src/version/comparison.rs:99
↓ 1 callers
Function
timestamp
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 callers
Method
toggleRule
(ruleId)
alpm-lint-website/static/js/lint-rules.js:35
↓ 1 callers
Method
updateURL
(ruleId)
alpm-lint-website/static/js/lint-rules.js:85
↓ 1 callers
Method
update_or_clone
Ensure we have a bare clone of aur.git locally. Update if already present.
dev-scripts/src/sync/aur.rs:48
↓ 1 callers
Function
update_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 callers
Function
validate
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 callers
Function
validate
Validate a package repository desc file by parsing it.
alpm-repo-db/src/desc/commands.rs:153
↓ 1 callers
Function
validate
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 callers
Function
validate
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 callers
Function
validate
Validate a DB desc file by parsing it.
alpm-db/src/desc/commands.rs:143
↓ 1 callers
Function
validate
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 callers
Function
validate_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 callers
Function
validate_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 callers
Function
warmup_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 callers
Method
write_fmt
(&mut self, fmt: std::fmt::Arguments<'_>)
alpm-compress/src/compression/encoder.rs:227
↓ 1 callers
Method
write_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
Function
absolute_dir_new_creates_dir
()
alpm-package/src/package.rs:1207
Function
absolute_dir_new_fails
()
alpm-package/src/package.rs:1223
Function
absolute_dir_utilities
()
alpm-package/src/package.rs:1251
Method
architecture
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:89
Method
architecture
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
Method
architecture
Returns the [`Architecture`]. # Examples ``` use std::str::FromStr; use alpm_types::{InstalledPackage, SystemArchitecture}; # fn main() -> Result<
alpm-types/src/env.rs:581
Method
architecture
Returns the [`Architecture`]. # Examples ``` use std::str::FromStr; use alpm_types::{PackageFileName, SystemArchitecture}; # fn main() -> Result<(
alpm-types/src/package/file_name.rs:158
Method
architecture
Returns the optional [`Architecture`]. # Note If `self` is a [`BuildToolVersion::Makepkg`] this method always returns [`None`].
alpm-types/src/version/buildtool.rs:88
Function
architecture_format_string
(#[case] arch: Architecture, #[case] arch_str: &str)
alpm-types/src/system.rs:626
Function
architecture_from_string
(#[case] input: &str, #[case] arch: Architecture)
alpm-types/src/system.rs:607
Function
architecture_specific_unsafe_checksum_fails
()
alpm-lint/tests/lint_rule_tests/source_info/unsafe_checksum.rs:61
Function
architecture_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
Function
architectures_format_display
(#[case] archs: Architectures, #[case] archs_str: &str)
alpm-types/src/system.rs:669
Function
architectures_from_vec
( #[case] archs: Vec<Architecture>, #[case] expected: Result<Architectures, Error>, )
alpm-types/src/system.rs:657
Method
as_ref
(&self)
alpm-package/src/config.rs:87
Method
as_ref
Returns a reference to the inner [`String`].
alpm-types/src/pkg.rs:93
Method
as_ref
(&self)
alpm-types/src/path.rs:175
Method
as_ref
(&self)
alpm-types/src/openpgp.rs:345
Method
as_ref
(&self)
alpm-types/src/system.rs:243
Method
as_str
Returns the name of the shared object as a string slice.
alpm-types/src/name.rs:244
Function
assert_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
Method
b2_checksum
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:212
Method
backups
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:120
Method
backups
Returns the backup entries associated with this [`DbFiles`].
alpm-db/src/files/mod.rs:61
Method
backups
Returns the backup entries tracked for this file listing.
alpm-db/src/files/v1.rs:403
Method
base
(&self)
python-alpm/src/srcinfo/source_info/v1/mod.rs:36
Method
build
(&self)
python-alpm/src/types/version.rs:107
Function
build_dir_from_string
(#[case] s: &str, #[case] result: Result<BuildDirectory, Error>)
alpm-types/src/path.rs:452
Function
build_environment_option
(#[case] input: &str, #[case] expected: BuildEnvironmentOption)
alpm-types/src/env.rs:847
Function
buildinfov1
()
alpm-buildinfo/src/build_info/v1.rs:240
Function
buildinfov1_from_str
(valid_buildinfov1: String)
alpm-buildinfo/src/build_info/v1.rs:234
Function
buildinfov1_from_str_duplicate_fail
(mut valid_buildinfov1: String, #[case] duplicate: &str)
alpm-buildinfo/src/build_info/v1.rs:273
Function
buildinfov1_invalid_schemaversion
(invalid_format_buildinfov1: String)
alpm-buildinfo/src/build_info/v1.rs:258
Function
buildinfov2
()
alpm-buildinfo/src/build_info/v2.rs:287
Function
buildinfov2_from_str
(#[case] buildinfo: &str)
alpm-buildinfo/src/build_info/v2.rs:281
Function
buildinfov2_from_str_duplicate_fail
(#[case] duplicate: &str)
alpm-buildinfo/src/build_info/v2.rs:326
Function
buildinfov2_invalid_schemaversion
()
alpm-buildinfo/src/build_info/v2.rs:308
Function
buildtool_matches_restriction
( #[case] buildtool: &str, #[case] restrictions: Vec<Name>, #[case] result: bool,
alpm-types/src/name.rs:339
Function
buildtool_new_with_restriction
( #[case] buildtool: &str, #[case] restrictions: Vec<Name>, #[case] result: Result<Bui
alpm-types/src/name.rs:325
Method
calculate_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
Method
changelog
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:94
Function
check
()
alpm-lint/tests/integration.rs:59
Method
check_dependencies
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:165
Function
check_json_output
()
alpm-lint/tests/integration.rs:95
Function
check_pretty_output
()
alpm-lint/tests/integration.rs:122
Function
check_valid_srcinfo
()
alpm-lint/tests/integration.rs:78
Function
checksum_blake2b512
()
alpm-types/src/checksum.rs:792
Function
checksum_crc32cksum
()
alpm-types/src/checksum.rs:905
Function
checksum_parse_error
(#[case] input: &str)
alpm-types/src/checksum.rs:928
← previous
next →
401–500 of 1,873, ranked by callers