MCPcopy Create free account

hub / github.com/archlinux/alpm / functions

Functions1,873 in github.com/archlinux/alpm

Functionpackage_file_name_set_compression
( #[case] initial_compression: Option<CompressionAlgorithmFileExtension>, #[case] compression:
alpm-types/src/package/file_name.rs:759
Functionpackage_file_name_to_path_buf
( #[case] compression: Option<CompressionAlgorithmFileExtension>, #[case] path: &str, )
alpm-types/src/package/file_name.rs:723
Functionpackage_file_name_version
()
alpm-types/src/package/file_name.rs:669
Functionpackage_input_fails_on_missing_metadata
( #[case] config: InputDirConfig, #[case] expected: PathBuf, )
alpm-package/tests/integration.rs:432
Functionpackage_invalid_spdx_license_fails
()
alpm-lint/tests/lint_rule_tests/source_info/invalid_spdx_license.rs:50
Methodpackage_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
Functionpackage_metadata_iterator
()
alpm-package/tests/integration.rs:907
Functionpackage_new
()
alpm-package/src/package.rs:1266
Functionpackage_new_fails
()
alpm-package/src/package.rs:1282
Functionpackage_option
(#[case] s: &str, #[case] expected: PackageOption)
alpm-types/src/env.rs:821
Methodpackage_relation
Returns a reference to the tracked [`PackageRelation`].
alpm-types/src/relation/base.rs:263
Functionpackage_try_from_path_fails
()
alpm-package/src/package.rs:1309
Functionpackager_email
(#[case] packager: Packager, #[case] email: &EmailAddress)
alpm-types/src/openpgp.rs:679
Functionpackager_format_string
(#[case] packager: Packager, #[case] packager_str: &str)
alpm-types/src/openpgp.rs:664
Functionpackager_name
(#[case] packager: Packager, #[case] name: &str)
alpm-types/src/openpgp.rs:670
Methodpackages
(&self)
python-alpm/src/srcinfo/source_info/v1/mod.rs:41
Methodpackages
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
Methodpackages_for_architecture
( &self, architecture: crate::types::system::Architecture, )
python-alpm/src/srcinfo/source_info/v1/mod.rs:45
Methodparse_architecture
Parses the architecture.
alpm-types/src/relation/soname.rs:389
Methodparse_architecture_delimiter
Parses the architecture delimiter `-`.
alpm-types/src/relation/soname.rs:378
Functionparse_error_in_full_version_from_string
(#[case] input: &str)
alpm-types/src/version/pkg_full.rs:405
Functionparse_error_in_version_from_string
(#[case] version: &str)
alpm-types/src/version/pkg_generic.rs:267
Functionparse_filename
(#[case] input: &str, #[case] expected: Result<Source, Error>)
alpm-types/src/source.rs:191
Methodparse_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
Methodparse_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
Methodparse_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
Methodparse_shared_object_name
Parses the shared object name until the version delimiter `=`.
alpm-types/src/relation/soname.rs:357
Functionparse_source
(#[case] input: &str, #[case] expected: Result<Source, Error>)
alpm-types/src/source.rs:241
Functionparse_valid_v1_desc
()
alpm-repo-db/src/desc/v1.rs:633
Functionparse_valid_v1_desc
( #[case] input_data: &str, #[case] expected: DbDescFileV1, #[case] expected_output_da
alpm-db/src/desc/v1.rs:882
Functionparse_valid_v1_desc_minimal
()
alpm-repo-db/src/desc/v1.rs:680
Functionparse_valid_v2_desc
()
alpm-repo-db/src/desc/v2.rs:640
Functionparse_valid_v2_desc
()
alpm-db/src/desc/v2.rs:419
Functionparse_valid_v2_desc_minimal
()
alpm-repo-db/src/desc/v2.rs:684
Methodparse_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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
Parses a full [`SourceUrl`] from a string slice.
alpm-types/src/url.rs:256
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Methodparser
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
Functionparser_roundtrip
(#[case] input: &str, #[case] expected: &str)
alpm-repo-db/src/desc/v2.rs:722
Functionparser_roundtrip
(#[case] input: &str, #[case] expected: &str)
alpm-repo-db/src/desc/v1.rs:721
Methodpartial_cmp
(&self, other: &Self)
alpm-mtree/src/mtree/v2.rs:707
Methodpartial_cmp
(&self, other: &Self)
alpm-types/src/checksum.rs:480
Methodpartial_cmp
(&self, other: &Self)
alpm-types/src/version/pkg_generic.rs:193
Methodpartial_cmp
(&self, other: &Self)
alpm-types/src/version/pkg_minimal.rs:251
Methodpartial_cmp
(&self, other: &Self)
alpm-types/src/version/comparison.rs:508
Methodpartial_cmp
(&self, other: &Self)
alpm-types/src/version/pkg_full.rs:279
Methodpartial_cmp
(&self, other: &Self)
alpm-types/src/version/base.rs:193
Methodpatch
(&self)
python-alpm/src/types/version.rs:97
Methodpaths
Returns a reference to the list of relative paths in base dir.
alpm-common/src/package/input.rs:124
Methodpgp_fingerprints
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:135
Functionpkginfo_all_fields
Return a valid PKGINFO file with all fields filled in.
alpm-pkginfo/tests/integration.rs:203
Functionpkginfo_optional_fields
Return a valid PKGINFO file with only the required fields filled in.
alpm-pkginfo/tests/integration.rs:250
Functionpkginfov1
()
alpm-pkginfo/src/package_info/v1.rs:299
Functionpkginfov1_from_str
(valid_pkginfov1: String)
alpm-pkginfo/src/package_info/v1.rs:293
Functionpkginfov1_from_str_duplicate_fail
(mut valid_pkginfov1: String, #[case] duplicate: &str)
alpm-pkginfo/src/package_info/v1.rs:364
Functionpkginfov2
()
alpm-pkginfo/src/package_info/v2.rs:411
Functionpkginfov2_from_str
(#[case] pkginfo: &str)
alpm-pkginfo/src/package_info/v2.rs:345
Functionpkginfov2_from_str_duplicate_fail
(#[case] duplicate: &str)
alpm-pkginfo/src/package_info/v2.rs:437
Functionpkginfov2_multiple_xdata
()
alpm-pkginfo/src/package_info/v2.rs:418
Functionpkgrel_cmp
(#[case] first: &str, #[case] second: &str, #[case] order: Ordering)
alpm-types/src/version/base.rs:422
Functionpkgtype_format_string
(#[case] pkgtype: PackageType, #[case] pkgtype_str: &str)
alpm-types/src/pkg.rs:347
Functionpkgtype_from_string
( #[case] from_str: &str, #[case] result: Result<PackageType, strum::ParseError>, )
alpm-types/src/pkg.rs:335
Methodpkgver
(&self)
python-alpm/src/types/version.rs:213
Methodpre
(&self)
python-alpm/src/types/version.rs:102
Methodpreceding_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
Methodprefix
(&self)
python-alpm/src/types/relation.rs:147
Functionproperties
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
Functionproperty
Parse a single property.
alpm-mtree/src/parser.rs:242
Methodproperty_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
Methodprovides
(&self)
python-alpm/src/srcinfo/source_info/v1/package.rs:282
Methodprovides
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:150
Methodraw
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
Methodread
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
Methodread
(&mut self, buf: &mut [u8])
alpm-compress/src/decompression/decoder.rs:77
Functionread_package_contents
( #[case] compression: CompressionSettings, #[case] config_flags: InputDirConfig, )
alpm-package/tests/integration.rs:772
Methodrelation_parser
Same as [`Self::shared_meta_parser`], but for clearable [RelationProperty].
alpm-srcinfo/src/source_info/parser.rs:1221
Functionrelative_data_files_collect_successfully
()
alpm-common/src/package/input.rs:376
Functionrelative_file_path_from_str
( #[case] s: &str, #[case] result: Result<RelativeFilePath, Error>, )
alpm-types/src/path.rs:492
← previousnext →1,201–1,300 of 1,873, ranked by callers