MCPcopy Create free account

hub / github.com/archlinux/alpm / functions

Functions1,873 in github.com/archlinux/alpm

Functionchecksum_sha1
()
alpm-types/src/checksum.rs:812
Functionchecksum_sha224
()
alpm-types/src/checksum.rs:830
Functionchecksum_sha256
()
alpm-types/src/checksum.rs:848
Functionchecksum_sha384
()
alpm-types/src/checksum.rs:866
Functionchecksum_sha512
()
alpm-types/src/checksum.rs:885
MethodcollapseAllRules
()
alpm-lint-website/static/js/lint-rules.js:120
Functioncomment
Parse a comment (a line starting with `#`).
alpm-parsers/src/custom_ini/parser.rs:99
Functioncompare
()
dev-scripts/tests/integration.rs:18
Functioncompare_schema_version
(#[case] version_a: SchemaVersion, #[case] version_b: SchemaVersion)
alpm-types/src/version/schema.rs:99
Methodcompression
Returns the optional [`CompressionAlgorithmFileExtension`]. # Examples ``` use std::str::FromStr; use alpm_types::{CompressionAlgorithmFileExtensio
alpm-types/src/package/file_name.rs:186
Functioncompression_algorithm_file_extension_from_str
( #[case] input: &str, #[case] expected: CompressionAlgorithmFileExtension, )
alpm-types/src/compression.rs:151
Functioncompression_algorithm_file_extension_try_from_path
( #[case] filename: &str, #[case] expected: CompressionAlgorithmFileExtension, )
alpm-types/src/compression.rs:169
Methodconfiguration_options
Returns lint config options used by the lint rule. By default this method returns an empty slice, which means that the lint rule does not use any con
alpm-lint/examples/my_new_lint.rs:208
Methodconflicts
(&self)
python-alpm/src/srcinfo/source_info/v1/package.rs:296
Methodconflicts
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:155
Methodconstructor
()
alpm-lint-website/static/js/lint-rules.js:10
Methodconstructor
()
alpm-lint-website/static/js/lint-filter.js:12
Functioncorrect_files
(#[files("tests/correct/*.srcinfo")] case: PathBuf)
alpm-srcinfo/tests/correct.rs:28
Functioncorrect_files
(#[files("tests/pkgbuild_correct/*.pkgbuild")] case: PathBuf)
alpm-srcinfo/tests/pkgbuild_correct.rs:16
Functioncorrect_writer
(#[files("tests/correct/*.srcinfo")] case: PathBuf)
alpm-srcinfo/tests/writer.rs:15
Functioncreate_bzip2_compression_level_fails
(#[case] level: u8)
alpm-compress/src/compression/level.rs:375
Functioncreate_bzip2_compression_level_succeeds
()
alpm-compress/src/compression/level.rs:384
Functioncreate_gzip_compression_level_fails
(#[case] level: u8)
alpm-compress/src/compression/level.rs:395
Functioncreate_gzip_compression_level_succeeds
()
alpm-compress/src/compression/level.rs:404
Functioncreate_mtreev1_from_input
()
alpm-mtree/tests/create.rs:56
Functioncreate_mtreev2_from_input
()
alpm-mtree/tests/create.rs:77
Functioncreate_package_files
Helper function to create all files inside a Package scope.
alpm-lint/tests/resources.rs:52
Functioncreate_package_from_input
( #[case] compression: CompressionSettings, #[case] input_dir_config: InputDirConfig, )
alpm-package/tests/integration.rs:386
Functioncreate_source_repo_files
Helper function to create all files inside a source repo scope.
alpm-lint/tests/resources.rs:46
Functioncreate_xz_compression_level_fails
()
alpm-compress/src/compression/level.rs:413
Functioncreate_xz_compression_level_succeeds
()
alpm-compress/src/compression/level.rs:422
Functioncreate_zstd_compression_level_fails
()
alpm-compress/src/compression/level.rs:431
Functioncreate_zstd_compression_level_succeeds
()
alpm-compress/src/compression/level.rs:440
Methodcustom
(msg: T)
alpm-parsers/src/custom_ini/de.rs:119
Functiondatetime_into_builddate
()
alpm-types/src/date.rs:46
Methoddefault
Returns the default [`BuildInfoSchema`] variant ([`BuildInfoSchema::V2`])
alpm-buildinfo/src/schema.rs:160
Methoddefault
()
alpm-buildinfo/src/cli.rs:34
Methoddefault
Returns the default schema variant ([`RepoFilesSchema::V1`]).
alpm-repo-db/src/files/schema.rs:173
Methoddefault
Returns the default schema variant ([`RepoDescSchema::V2`]).
alpm-repo-db/src/desc/schema.rs:239
Methoddefault
Returns the default [`MtreeSchema`] variant ([`MtreeSchema::V2`]).
alpm-mtree/src/schema.rs:150
Methoddefault
Returns the default [`SourceInfoSchema`] variant ([`SourceInfoSchema::V1`]).
alpm-srcinfo/src/schema.rs:129
Methoddefault
Returns the default thread value (1) when compressing with zstd. The default adheres to the one selected by the [zstd] executable. [zstd]: https://m
alpm-compress/src/compression/settings.rs:41
Methoddefault
Returns the default schema variant ([`DbFilesSchema::V1`]).
alpm-db/src/files/schema.rs:194
Methoddefault
Returns the default schema variant ([`DbDescSchema::V2`]).
alpm-db/src/desc/schema.rs:164
Methoddefault
()
alpm-lint/src/commands.rs:203
Methoddefault
Returns the default [`PackageDescription`]. Following the default for [`String`], this returns a [`PackageDescription`] wrapping an empty string.
alpm-types/src/pkg.rs:78
Methoddefault
()
alpm-types/src/checksum.rs:599
Methoddefault
Returns the default [`PackageInfoSchema`] variant ([`PackageInfoSchema::V2`]).
alpm-pkginfo/src/schema.rs:178
Methoddefault
()
alpm-pkginfo/src/cli.rs:39
Functiondefault_compression_settings
()
alpm-compress/src/compression/settings.rs:115
Functiondelimiter
Recognizes the ` = ` delimiter between keywords. This function expects the delimiter to exist.
alpm-srcinfo/src/source_info/parser.rs:56
Methoddependencies
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:140
Functiondepends_and_provides_accept_sonames
()
alpm-db/src/desc/v2.rs:460
Functiondepends_and_provides_accept_sonames
()
alpm-db/src/desc/v1.rs:894
Methodderive_from_file
Derives a [`BuildInfoSchema`] from a BUILDINFO file. Opens the `file` and defers to [`BuildInfoSchema::derive_from_reader`]. # Errors Returns an er
alpm-buildinfo/src/schema.rs:49
Methodderive_from_file
Creates a new [`RepoFilesSchema`] from a file [`Path`]. # Note Delegates to [`Self::derive_from_reader`] after opening `file` for reading. # Errors
alpm-repo-db/src/files/schema.rs:69
Methodderive_from_file
Derives a [`RepoDescSchema`] from an [alpm-repo-desc] file on disk. Opens the `file` and defers to [`RepoDescSchema::derive_from_reader`]. # Errors
alpm-repo-db/src/desc/schema.rs:59
Methodderive_from_file
Derives an [`MtreeSchema`] from an ALPM-MTREE file. Opens the `file` and defers to [`MtreeSchema::derive_from_reader`]. # Errors Returns an error i
alpm-mtree/src/schema.rs:53
Methodderive_from_file
Derives a [`SourceInfoSchema`] from a SRCINFO file. Opens the `file` and defers to [`SourceInfoSchema::derive_from_reader`]. # Errors Returns an er
alpm-srcinfo/src/schema.rs:50
Methodderive_from_file
Creates a new [`DbFilesSchema`] from a file [`Path`]. # Note Delegates to [`Self::derive_from_reader`] after opening `file` for reading. # Errors
alpm-db/src/files/schema.rs:74
Methodderive_from_file
Derives a [`DbDescSchema`] from an [alpm-db-desc] file on disk. Opens the `file` and defers to [`DbDescSchema::derive_from_reader`]. # Errors Retur
alpm-db/src/desc/schema.rs:59
Methodderive_from_file
Derives a [`PackageInfoSchema`] from a PKGINFO file. Opens the `file` and defers to [`PackageInfoSchema::derive_from_reader`]. # Errors Returns an
alpm-pkginfo/src/schema.rs:54
Methodderive_from_reader
Derives a [`BuildInfoSchema`] from BUILDINFO data in a `reader`. Reads the `reader` to string and defers to [`BuildInfoSchema::derive_from_str`]. #
alpm-buildinfo/src/schema.rs:70
Methodderive_from_reader
Creates a new [`RepoFilesSchema`] from a [`Read`] implementation. # Note Delegates to [`Self::derive_from_str`] after reading the `reader` to string
alpm-repo-db/src/files/schema.rs:118
Methodderive_from_reader
Derives a [`RepoDescSchema`] from [alpm-repo-desc] data in a reader. Reads the `reader` to a string and defers to [`RepoDescSchema::derive_from_str`]
alpm-repo-db/src/desc/schema.rs:83
Methodderive_from_reader
Derives an [`MtreeSchema`] from ALPM-MTREE data in a `reader`. Reads the `reader` to string and defers to [`MtreeSchema::derive_from_str`]. # Errors
alpm-mtree/src/schema.rs:74
Methodderive_from_reader
Derives a [`SourceInfoSchema`] from SRCINFO data in a `reader`. Reads the `reader` to string and defers to [`SourceInfoSchema::derive_from_str`]. #
alpm-srcinfo/src/schema.rs:71
Methodderive_from_reader
Creates a new [`DbFilesSchema`] from a [`Read`] implementation. # Note Delegates to [`Self::derive_from_str`] after reading the `reader` to string.
alpm-db/src/files/schema.rs:128
Methodderive_from_reader
Derives a [`DbDescSchema`] from [alpm-db-desc] data in a reader. Reads the `reader` to a string and defers to [`DbDescSchema::derive_from_str`]. # E
alpm-db/src/desc/schema.rs:83
Methodderive_from_reader
Derives a [`PackageInfoSchema`] from PKGINFO data in a `reader`. Reads the `reader` to string and defers to [`PackageInfoSchema::derive_from_str`].
alpm-pkginfo/src/schema.rs:75
Methodderive_from_str
Derives a [`BuildInfoSchema`] from a string slice containing BUILDINFO data. Relies on the `format` keyword and its assigned value in the BUILDINFO d
alpm-buildinfo/src/schema.rs:146
Methodderive_from_str
Creates a new [`RepoFilesSchema`] from a string slice. # Errors Returns an error if - a [`RepoFilesSchema`] cannot be derived from `s`, - or a [`Re
alpm-repo-db/src/files/schema.rs:158
Methodderive_from_str
Derives a [`RepoDescSchema`] from a string slice containing [alpm-repo-desc] data. The parser uses a simple heuristic: - v1 → `%MD5SUM%` section pre
alpm-repo-db/src/desc/schema.rs:222
Methodderive_from_str
Derives an [`MtreeSchema`] from a string slice containing ALPM-MTREE data. Since the ALPM-MTREE format does not carry any version information, this f
alpm-mtree/src/schema.rs:139
Methodderive_from_str
Derives a [`SourceInfoSchema`] from a string slice containing SRCINFO data. Since the SRCINFO format is only covered by a single version and it not c
alpm-srcinfo/src/schema.rs:115
Methodderive_from_str
Creates a new [`DbFilesSchema`] from a string slice. # Errors Returns an error if - a [`DbFilesSchema`] cannot be derived from `s`, - or a [`DbFile
alpm-db/src/files/schema.rs:173
Methodderive_from_str
Derives a [`DbDescSchema`] from a string slice containing [alpm-db-desc] data. The parser uses a simple heuristic: - v1 → no `%XDATA%` section prese
alpm-db/src/desc/schema.rs:151
Methodderive_from_str
Derives a [`PackageInfoSchema`] from a string slice containing PKGINFO data. Since the PKGINFO format does not carry any version information, this fu
alpm-pkginfo/src/schema.rs:148
Methoddescription
(&self)
python-alpm/src/srcinfo/source_info/v1/merged.rs:74
Methoddescription
(&self)
alpm-parsers/src/custom_ini/de.rs:113
Methoddescription
Return the description for the optional dependency, if it exists
alpm-types/src/relation/base.rs:258
Methoddeserialize
(deserializer: De)
alpm-types/src/checksum.rs:274
Methoddeserialize
Custom serde serialization as Spdx doesn't provide a serde [`Deserialize`] implementation. This implements deserialization from a string type. Attemp
alpm-types/src/license.rs:59
Methoddeserialize_any
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:165
Methoddeserialize_bool
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:237
Methoddeserialize_f32
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:281
Methoddeserialize_f64
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:285
Methoddeserialize_i128
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:257
Methoddeserialize_i16
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:245
Methoddeserialize_i32
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:249
Methoddeserialize_i64
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:253
Methoddeserialize_i8
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:241
Methoddeserialize_seq
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:213
Functiondeserialize_types
()
alpm-parsers/src/custom_ini/de.rs:431
Methoddeserialize_u128
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:277
Methoddeserialize_u16
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:265
Methoddeserialize_u32
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:269
Methoddeserialize_u64
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:273
Methoddeserialize_u8
(self, visitor: V)
alpm-parsers/src/custom_ini/de.rs:261
Functiondeserialize_with_flatten
()
alpm-parsers/src/custom_ini/de.rs:474
← previousnext →501–600 of 1,873, ranked by callers