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
Function
package_file_name_set_compression
( #[case] initial_compression: Option<CompressionAlgorithmFileExtension>, #[case] compression:
alpm-types/src/package/file_name.rs:759
Function
package_file_name_to_path_buf
( #[case] compression: Option<CompressionAlgorithmFileExtension>, #[case] path: &str, )
alpm-types/src/package/file_name.rs:723
Function
package_file_name_version
()
alpm-types/src/package/file_name.rs:669
Function
package_input_fails_on_missing_metadata
( #[case] config: InputDirConfig, #[case] expected: PathBuf, )
alpm-package/tests/integration.rs:432
Function
package_invalid_spdx_license_fails
()
alpm-lint/tests/lint_rule_tests/source_info/invalid_spdx_license.rs:50
Method
package_line
Recognizes a tuple of [`RawPackageName`], [`Keyword`] and [`ClearableValue`] in a string slice. The tuple represents a single package variable line.
alpm-pkgbuild/src/bridge/parser.rs:595
Function
package_metadata_iterator
()
alpm-package/tests/integration.rs:907
Function
package_new
()
alpm-package/src/package.rs:1266
Function
package_new_fails
()
alpm-package/src/package.rs:1282
Function
package_option
(#[case] s: &str, #[case] expected: PackageOption)
alpm-types/src/env.rs:821
Method
package_relation
Returns a reference to the tracked [`PackageRelation`].
alpm-types/src/relation/base.rs:263
Function
package_try_from_path_fails
()
alpm-package/src/package.rs:1309
Function
packager_email
(#[case] packager: Packager, #[case] email: &EmailAddress)
alpm-types/src/openpgp.rs:679
Function
packager_format_string
(#[case] packager: Packager, #[case] packager_str: &str)
alpm-types/src/openpgp.rs:664
Function
packager_name
(#[case] packager: Packager, #[case] name: &str)
alpm-types/src/openpgp.rs:670
Method
packages
(&self)
python-alpm/src/srcinfo/source_info/v1/mod.rs:41
Method
packages
Recognizes an entire section of package variable declarations. Delegates to [`BridgeOutput::package_line`] to recognize singular tuples of [`RawPacka
alpm-pkgbuild/src/bridge/parser.rs:567
Method
packages_for_architecture
( &self, architecture: crate::types::system::Architecture, )
python-alpm/src/srcinfo/source_info/v1/mod.rs:45
Method
parse_architecture
Parses the architecture.
alpm-types/src/relation/soname.rs:389
Method
parse_architecture_delimiter
Parses the architecture delimiter `-`.
alpm-types/src/relation/soname.rs:378
Function
parse_error_in_full_version_from_string
(#[case] input: &str)
alpm-types/src/version/pkg_full.rs:405
Function
parse_error_in_version_from_string
(#[case] version: &str)
alpm-types/src/version/pkg_generic.rs:267
Function
parse_filename
(#[case] input: &str, #[case] expected: Result<Source, Error>)
alpm-types/src/source.rs:191
Method
parse_next_value
Recognizes a [`Value::Single`] in a string slice. Calls [`Value::variable_character`] to handle escaped characters in `input`. # Examples ```text "
alpm-pkgbuild/src/bridge/parser.rs:188
Method
parse_path
Recognizes a [`RelativePath`] in a single line. # Note This parser only consumes till the end of a line and attempts to parse a [`RelativePath`] fro
alpm-repo-db/src/files/v1.rs:41
Method
parse_path
Recognizes a [`RelativePath`] in a single line. # Note This parser only consumes till the end of a line and attempts to parse a [`RelativePath`] fro
alpm-db/src/files/v1.rs:42
Method
parse_shared_object_name
Parses the shared object name until the version delimiter `=`.
alpm-types/src/relation/soname.rs:357
Function
parse_source
(#[case] input: &str, #[case] expected: Result<Source, Error>)
alpm-types/src/source.rs:241
Function
parse_valid_v1_desc
()
alpm-repo-db/src/desc/v1.rs:633
Function
parse_valid_v1_desc
( #[case] input_data: &str, #[case] expected: DbDescFileV1, #[case] expected_output_da
alpm-db/src/desc/v1.rs:882
Function
parse_valid_v1_desc_minimal
()
alpm-repo-db/src/desc/v1.rs:680
Function
parse_valid_v2_desc
()
alpm-repo-db/src/desc/v2.rs:640
Function
parse_valid_v2_desc
()
alpm-db/src/desc/v2.rs:419
Function
parse_valid_v2_desc_minimal
()
alpm-repo-db/src/desc/v2.rs:684
Method
parse_version_delimiter
Parses the version delimiter `=`. This function discards the result for only checking if the version delimiter is present.
alpm-types/src/relation/soname.rs:367
Method
parser
Recognizes [alpm-repo-files] data in a string slice. # Errors Returns an error, if - the first line does not contain the required section header "%
alpm-repo-db/src/files/v1.rs:70
Method
parser
Recognizes a [`SectionKeyword`] in an input string slice. # Examples ``` use alpm_repo_db::desc::SectionKeyword; # fn main() -> winnow::ModalResult
alpm-repo-db/src/desc/parser.rs:126
Method
parser
Recognizes a complete SRCINFO file from a string slice. ```rust use alpm_srcinfo::source_info::parser::SourceInfoContent; use winnow::Parser; # fn m
alpm-srcinfo/src/source_info/parser.rs:234
Method
parser
Recognizes any of the [`PackageBaseKeywords`] in an input string slice. Does not consume input and stops after any keyword matches. # Errors Return
alpm-srcinfo/src/pkgbuild_bridge/package_base.rs:77
Method
parser
Recognizes any of the [`PackageKeyword`] in an input string slice. Does not consume input and stops after any keyword matches. # Errors Returns an
alpm-srcinfo/src/pkgbuild_bridge/package.rs:132
Method
parser
Parse a [`Self`] from one line of `rsync --itemize-changes`. Callers should be careful to remove trailing newlines from `rsync` output as this functi
dev-scripts/src/sync/mirror/rsync_changes.rs:86
Method
parser
Recognizes a [`Keyword`] in a variable declaration line in the output of the `alpm-pkgbuild-bridge` script. This parser is aware of its surrounding a
alpm-pkgbuild/src/bridge/parser.rs:349
Method
parser
Recognizes [alpm-db-files] data in a string slice. # Errors Returns an error, if - `input` is not empty and the first line does not contain the req
alpm-db/src/files/v1.rs:72
Method
parser
Recognizes a [`SectionKeyword`] in an input string slice. # Examples ``` use alpm_db::desc::SectionKeyword; # fn main() -> winnow::ModalResult<()>
alpm-db/src/desc/parser.rs:119
Method
parser
Parses a full [`SourceUrl`] from a string slice.
alpm-types/src/url.rs:256
Method
parser
Recognizes a [`Name`] in a string slice. Consumes all of its input. # Errors Returns an error if `input` contains an invalid _alpm-package-name_.
alpm-types/src/name.rs:153
Method
parser
Recognizes an ASCII hexadecimal [`Checksum`] from a string slice. Consumes all input. See [`Checksum::from_str`]. # Errors Returns an error if `inp
alpm-types/src/checksum.rs:319
Method
parser
Recognizes any [`PackageOption`] and [`BuildEnvironmentOption`] in a string slice. Consumes all of its input. # Errors Returns an error if `input`
alpm-types/src/env.rs:121
Method
parser
Parses a [`SonameLookupDirectory`] from a string slice. Consumes all of its input. See [`SonameLookupDirectory::from_str`] for more details.
alpm-types/src/path.rs:370
Method
parser
Parses a [`Packager`] from a string slice. Consumes all of its input. # Examples See [`Self::from_str`] for code examples. # Errors Returns an er
alpm-types/src/openpgp.rs:449
Method
parser
Recognizes a [`SystemArchitecture`] in an input string. Consumes all input and returns an error if the string doesn't match any architecture.
alpm-types/src/system.rs:108
Method
parser
Recognizes a [`PackageFileName`] in a string slice. Relies on [`winnow`] to parse `input` and recognize the [`Name`], [`FullVersion`], [`Architecture
alpm-types/src/package/file_name.rs:284
Method
parser
Recognizes a [`Version`] in a string slice. Consumes all of its input. # Errors Returns an error if `input` is not a valid _alpm-package-version_.
alpm-types/src/version/pkg_generic.rs:120
Method
parser
Recognizes a [`MinimalVersion`] in a string slice. Consumes all of its input. # Errors Returns an error if `input` is not a valid [alpm-package-ver
alpm-types/src/version/pkg_minimal.rs:142
Method
parser
Recognizes a [`FullVersion`] in a string slice. Consumes all of its input. # Errors Returns an error if `input` is not a valid [alpm-package-versio
alpm-types/src/version/pkg_full.rs:149
Method
parser
Recognizes a [`VersionRequirement`] in a string slice. Consumes all of its input. # Errors Returns an error if `input` is not a valid _alpm-compari
alpm-types/src/version/requirement.rs:108
Method
parser
Recognizes an [`Epoch`] in a string slice. Consumes all of its input. # Errors Returns an error if `input` is not a valid _alpm_epoch_.
alpm-types/src/version/base.rs:68
Method
parser
Recognizes a [`PackageVersion`] or [`SharedObjectName`] in a string slice. First attempts to recognize a [`SharedObjectName`] and if that fails, fall
alpm-types/src/relation/soname.rs:51
Method
parser
Parses a [`PackageRelation`] from a string slice. Consumes all of its input. # Examples See [`Self::from_str`] for code examples. # Errors Return
alpm-types/src/relation/base.rs:79
Method
parser
Recognizes a [`SonameV2`], a [`SonameV1`] or a [`PackageRelation`] in a string slice. First attempts to recognize a [`SonameV2`], then a [`SonameV1`]
alpm-types/src/relation/composite.rs:68
Function
parser_roundtrip
(#[case] input: &str, #[case] expected: &str)
alpm-repo-db/src/desc/v2.rs:722
Function
parser_roundtrip
(#[case] input: &str, #[case] expected: &str)
alpm-repo-db/src/desc/v1.rs:721
Method
partial_cmp
(&self, other: &Self)
alpm-mtree/src/mtree/v2.rs:707
Method
partial_cmp
(&self, other: &Self)
alpm-types/src/checksum.rs:480
Method
partial_cmp
(&self, other: &Self)
alpm-types/src/version/pkg_generic.rs:193
Method
partial_cmp
(&self, other: &Self)
alpm-types/src/version/pkg_minimal.rs:251
Method
partial_cmp
(&self, other: &Self)
alpm-types/src/version/comparison.rs:508
Method
partial_cmp
(&self, other: &Self)
alpm-types/src/version/pkg_full.rs:279
Method
partial_cmp
(&self, other: &Self)
alpm-types/src/version/base.rs:193
Method
patch
(&self)
python-alpm/src/types/version.rs:97
Method
paths
Returns a reference to the list of relative paths in base dir.
alpm-common/src/package/input.rs:124
Method
pgp_fingerprints
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:135
Function
pkginfo_all_fields
Return a valid PKGINFO file with all fields filled in.
alpm-pkginfo/tests/integration.rs:203
Function
pkginfo_optional_fields
Return a valid PKGINFO file with only the required fields filled in.
alpm-pkginfo/tests/integration.rs:250
Function
pkginfov1
()
alpm-pkginfo/src/package_info/v1.rs:299
Function
pkginfov1_from_str
(valid_pkginfov1: String)
alpm-pkginfo/src/package_info/v1.rs:293
Function
pkginfov1_from_str_duplicate_fail
(mut valid_pkginfov1: String, #[case] duplicate: &str)
alpm-pkginfo/src/package_info/v1.rs:364
Function
pkginfov2
()
alpm-pkginfo/src/package_info/v2.rs:411
Function
pkginfov2_from_str
(#[case] pkginfo: &str)
alpm-pkginfo/src/package_info/v2.rs:345
Function
pkginfov2_from_str_duplicate_fail
(#[case] duplicate: &str)
alpm-pkginfo/src/package_info/v2.rs:437
Function
pkginfov2_multiple_xdata
()
alpm-pkginfo/src/package_info/v2.rs:418
Function
pkgrel_cmp
(#[case] first: &str, #[case] second: &str, #[case] order: Ordering)
alpm-types/src/version/base.rs:422
Function
pkgtype_format_string
(#[case] pkgtype: PackageType, #[case] pkgtype_str: &str)
alpm-types/src/pkg.rs:347
Function
pkgtype_from_string
( #[case] from_str: &str, #[case] result: Result<PackageType, strum::ParseError>, )
alpm-types/src/pkg.rs:335
Method
pkgver
(&self)
python-alpm/src/types/version.rs:213
Method
pre
(&self)
python-alpm/src/types/version.rs:102
Method
preceding_lines_parser
Parses the start of the file in case it contains one or more empty lines or comment lines. This consumes the first few lines until the `pkgbase` sect
alpm-srcinfo/src/source_info/parser.rs:190
Method
prefix
(&self)
python-alpm/src/types/relation.rs:147
Function
properties
Parse all path related properties that follow after a path declaration. An example without all possible properties: E.g. `./some_path uid=0 gid=0 typ
alpm-mtree/src/parser.rs:297
Function
property
Parse a single property.
alpm-mtree/src/parser.rs:242
Method
property_parser
Recognizes keyword assignments in the `pkgbase` section in SRCINFO data. Since there're a lot of keywords and many of them are shared between the `pk
alpm-srcinfo/src/source_info/parser.rs:494
Method
provides
(&self)
python-alpm/src/srcinfo/source_info/v1/package.rs:282
Method
provides
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:150
Method
raw
Returns a reference to the underlying tar [`Entry`]. This is useful for accessing metadata of the entry, such as its header or path.
alpm-compress/src/tarball/reader.rs:229
Method
read
Reads data from the entry into the provided buffer. Delegates to [`Entry::read`]. # Errors Returns an error if reading from the entry fails.
alpm-compress/src/tarball/reader.rs:242
Method
read
(&mut self, buf: &mut [u8])
alpm-compress/src/decompression/decoder.rs:77
Function
read_package_contents
( #[case] compression: CompressionSettings, #[case] config_flags: InputDirConfig, )
alpm-package/tests/integration.rs:772
Method
relation_parser
Same as [`Self::shared_meta_parser`], but for clearable [RelationProperty].
alpm-srcinfo/src/source_info/parser.rs:1221
Function
relative_data_files_collect_successfully
()
alpm-common/src/package/input.rs:376
Function
relative_file_path_from_str
( #[case] s: &str, #[case] result: Result<RelativeFilePath, Error>, )
alpm-types/src/path.rs:492
← previous
next →
1,201–1,300 of 1,873, ranked by callers