MCPcopy Create free account

hub / github.com/alexykn/sps2 / functions

Functions2,023 in github.com/alexykn/sps2

↓ 1 callersFunctionis_suspicious_url
Check if a URL is suspicious
crates/builder/src/validation/rules.rs:109
↓ 1 callersMethodis_unit
(&self)
crates/resolver/src/sat/clause.rs:73
↓ 1 callersFunctionis_within_build_env
Check if a path is within the build environment
crates/builder/src/validation/rules.rs:100
↓ 1 callersMethodis_workspace
Check if this is a workspace project
crates/builder/src/build_systems/cargo.rs:169
↓ 1 callersMethodisolation_level
(&self)
crates/builder/src/environment/core.rs:241
↓ 1 callersFunctionkey_id_from_public_base64
Derive minisign `key_id` from public key base64 (bytes[2..10]). # Errors Returns an error if the base64 payload cannot be decoded or is too short.
crates/repository/src/lib.rs:240
↓ 1 callersFunctionkeys_import_from_file
Import a minisign public key from file. Accepts either a minisign .pub box or raw base64. # Errors Returns an error if the key cannot be read, decod
crates/ops/src/keys.rs:378
↓ 1 callersFunctionkeys_list
List trusted keys (key IDs) as a displayable string. # Errors Returns an error if the trusted keys file cannot be read/parsed.
crates/ops/src/keys.rs:353
↓ 1 callersFunctionkeys_remove
Remove a trusted key by key ID. # Errors Returns an error if saving the updated trusted keys fails or if the key is not present.
crates/ops/src/keys.rs:413
↓ 1 callersMethodlearn_clause
Learn a new clause
crates/resolver/src/sat/solver.rs:396
↓ 1 callersFunctionlist_packages
List installed packages # Errors Returns an error if package listing fails.
crates/ops/src/query.rs:17
↓ 1 callersMethodlist_packages
List all packages in the store # Errors Returns an error if directory traversal fails or I/O operations fail
crates/store/src/lib.rs:298
↓ 1 callersFunctionlist_plain_tar_contents
List contents of a plain tar file
crates/store/src/archive.rs:372
↓ 1 callersFunctionlist_repos
List configured repositories from the user's configuration. # Errors Returns an error if the configuration file cannot be read.
crates/ops/src/repository.rs:211
↓ 1 callersFunctionlist_specific
( store_path: &Path, path_or_hash: &str, file_map: &HashMap<String, Vec<String>>, long_format:
apps/sls/src/main.rs:291
↓ 1 callersFunctionlist_specific_package
( store_path: &Path, hash_prefix: &str, package_map: &HashMap<String, (String, String)>, long_
apps/sls/src/main.rs:673
↓ 1 callersFunctionlist_states
List state IDs ordered by creation time (desc) # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:346
↓ 1 callersFunctionlist_states_detailed
Detailed state list (alias for `get_all_states`) # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:659
↓ 1 callersFunctionlist_store
( store_path: &Path, file_map: &HashMap<String, Vec<String>>, long_format: bool, hash_only: bo
apps/sls/src/main.rs:167
↓ 1 callersFunctionlist_zstd_tar_contents
List contents of a zstd-compressed tar archive
crates/store/src/archive.rs:302
↓ 1 callersMethodlive_path
(&self)
crates/state/src/manager.rs:206
↓ 1 callersMethodload_etag
Load cached `ETag` # Errors Does not return errors - missing files return `None`.
crates/index/src/cache.rs:129
↓ 1 callersFunctionload_file_mappings
( db_path: &Path, )
apps/sls/src/main.rs:123
↓ 1 callersMethodload_from_cache
Load tools from persistent cache
crates/platform/src/core/mod.rs:405
↓ 1 callersMethodload_package_if_exists
Load a stored package if it exists in the store # Errors Returns an error if the package metadata cannot be loaded from disk.
crates/store/src/lib.rs:102
↓ 1 callersFunctionload_package_mappings
( db_path: &Path, )
apps/sls/src/main.rs:548
↓ 1 callersMethodload_packages
( &self, state_id: &Uuid, )
crates/guard/src/verifier.rs:493
↓ 1 callersFunctionload_recipe_metadata
(recipe_path: &Path)
crates/ops/src/build.rs:127
↓ 1 callersFunctionlog_event_with_tracing
Log an AppEvent using the tracing infrastructure with structured fields This function takes an AppEvent and logs it at the appropriate level with str
apps/sps2/src/logging.rs:14
↓ 1 callersFunctionlooks_like_source_file
Check if argument looks like a source file
crates/builder/src/security/parser.rs:529
↓ 1 callersFunctionmake_package
( store: &PackageStore, name: &str, version: &str, description: &str, )
crates/ops/src/query.rs:253
↓ 1 callersFunctionmake_single_key
Create a `RepositoryKeys` with a single trusted key and no rotations. # Errors Returns an error if deriving the minisign key id from the provided ba
crates/repository/src/lib.rs:288
↓ 1 callersFunctionmake_sp_and_add_to_store
( store: &sps2_store::PackageStore, name: &str, version: &str, )
crates/install/src/installer.rs:251
↓ 1 callersMethodmanifest
(&self)
crates/store/src/package.rs:58
↓ 1 callersFunctionmark_pruned_states
Mark states as pruned (except the active one) # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:684
↓ 1 callersMethodmax_build_time
(&self)
crates/builder/src/config.rs:126
↓ 1 callersMethodmerge_env
Merge with environment variables # Errors Returns an error if environment variables contain invalid values that cannot be parsed into the expected t
crates/config/src/lib.rs:217
↓ 1 callersMethodmeson
Configure with Meson # Errors Returns an error if the meson commands fail.
crates/builder/src/core/api.rs:429
↓ 1 callersMethodmetadata
Get all metadata
crates/platform/src/core/mod.rs:1034
↓ 1 callersFunctionmk_env
()
crates/install/src/installer.rs:242
↓ 1 callersMethodname
(&self)
crates/builder/src/build_systems/python.rs:921
↓ 1 callersMethodneeds_autoreconf
Check if autoreconf is needed
crates/builder/src/build_systems/autotools.rs:41
↓ 1 callersMethodnet
Get network client
apps/sps2/src/setup.rs:80
↓ 1 callersMethodnodejs
Build with Node.js # Errors Returns an error if the node/npm command fails.
crates/builder/src/core/api.rs:606
↓ 1 callersMethodoperation
(&self)
crates/events/src/progress/tracker.rs:205
↓ 1 callersMethodother
(self)
crates/types/src/state.rs:97
↓ 1 callersFunctionpack_from_directory
Pack a directory directly, skipping all post-processing This is a power-user feature that packages a directory as-is. It requires a manifest file. //
crates/ops/src/pack.rs:73
↓ 1 callersFunctionpack_from_recipe
Pack a recipe from its staging directory with post-processing and QA pipeline This is the default pack behavior, matching the build command. Runs pos
crates/ops/src/pack.rs:34
↓ 1 callersFunctionpack_from_recipe_no_post
Pack a recipe from its staging directory without post-processing or QA pipeline This skips all post-processing steps and QA validation. Use --no-post
crates/ops/src/pack.rs:53
↓ 1 callersMethodpackage_filename
(&self)
crates/builder/src/core/context.rs:91
↓ 1 callersFunctionpackage_info
Get information about a specific package # Errors Returns an error if package information retrieval fails.
crates/ops/src/query.rs:126
↓ 1 callersFunctionparse_ampersand
Parse & or &&
crates/builder/src/validation/parser.rs:129
↓ 1 callersFunctionparse_cargo_test_summary
Parse cargo test summary line
crates/builder/src/build_systems/cargo.rs:494
↓ 1 callersFunctionparse_command_with_context
Parse command and determine its effects and path accesses
crates/builder/src/security/parser.rs:11
↓ 1 callersFunctionparse_comment
Parse a comment until end of line
crates/builder/src/validation/parser.rs:63
↓ 1 callersFunctionparse_ctest_summary
Parse `CTest` summary line
crates/builder/src/build_systems/cmake.rs:420
↓ 1 callersFunctionparse_from_u8
(value: u8)
crates/types/src/recipe.rs:130
↓ 1 callersFunctionparse_from_u8
(value: u8)
crates/builder/src/environment/types.rs:185
↓ 1 callersFunctionparse_meson_test_line
Parse a Meson test output line
crates/builder/src/build_systems/meson.rs:316
↓ 1 callersFunctionparse_pipe
Parse | or ||
crates/builder/src/validation/parser.rs:141
↓ 1 callersFunctionparse_quoted
Parse a quoted string
crates/builder/src/validation/parser.rs:73
↓ 1 callersFunctionparse_redirect
Parse redirections
crates/builder/src/validation/parser.rs:153
↓ 1 callersFunctionparse_state_marker
(value: &str)
crates/state/src/live_slots.rs:271
↓ 1 callersFunctionparse_variable
Parse a variable reference
crates/builder/src/validation/parser.rs:102
↓ 1 callersFunctionparse_word
Parse a word (command or argument)
crates/builder/src/validation/parser.rs:164
↓ 1 callersFunctionparse_yaml_recipe_from_string
Parse a YAML recipe from a string # Errors Returns an error if: - The YAML is invalid - Required fields are missing - Validation fails
crates/builder/src/recipe/parser.rs:35
↓ 1 callersMethodpatch_rpaths
Apply rpath patching to binaries and libraries # Errors Returns an error if the patching fails.
crates/builder/src/core/api.rs:1181
↓ 1 callersFunctionplatform_specific_commands
Platform-specific tools
crates/config/src/builder.rs:784
↓ 1 callersFunctionprepare_download
Prepare file and hasher for download
crates/net/src/download/stream.rs:58
↓ 1 callersFunctionpreview_install
(ctx: &OpsCtx, package_specs: &[String])
crates/ops/src/install.rs:173
↓ 1 callersFunctionpreview_rollback
(ctx: &OpsCtx, target_state: Option<Uuid>)
crates/ops/src/maintenance.rs:345
↓ 1 callersFunctionpreview_update_or_upgrade
( ctx: &OpsCtx, package_names: &[String], mode: UpdateMode, )
crates/ops/src/update.rs:289
↓ 1 callersFunctionprocess_archive_command
Process archive commands
crates/builder/src/security/parser.rs:366
↓ 1 callersFunctionprocess_binary_file
( path: &Path, replacements: &HashMap<String, String>, )
crates/builder/src/artifact_qa/patchers/binary_string.rs:188
↓ 1 callersFunctionprocess_build_tool_command
Process build tool commands
crates/builder/src/security/parser.rs:411
↓ 1 callersFunctionprocess_command
Process a specific command and determine its effects
crates/builder/src/security/parser.rs:80
↓ 1 callersFunctionprocess_create_command
Process creation commands
crates/builder/src/security/parser.rs:255
↓ 1 callersFunctionprocess_delete_command
Process deletion commands
crates/builder/src/security/parser.rs:238
↓ 1 callersMethodprocess_file_references
Helper: process direct file references
crates/state/src/manager.rs:119
↓ 1 callersMethodprocess_files
Process all files that need rpath patching
crates/builder/src/artifact_qa/patchers/rpath.rs:399
↓ 1 callersFunctionprocess_find_command
Process find command
crates/builder/src/security/parser.rs:347
↓ 1 callersFunctionprocess_install_command
Process install command
crates/builder/src/security/parser.rs:440
↓ 1 callersFunctionprocess_link_command
Process ln command
crates/builder/src/security/parser.rs:319
↓ 1 callersFunctionprocess_metadata_command
Process metadata modification commands
crates/builder/src/security/parser.rs:289
↓ 1 callersFunctionprocess_package
(args: ProcessPackageArgs)
crates/install/src/prepare/worker.rs:34
↓ 1 callersMethodprocess_pending_file_hashes
Helper: process pending hashes for packages with computed file hashes
crates/state/src/manager.rs:80
↓ 1 callersFunctionprocess_read_command
Process read-only commands
crates/builder/src/security/parser.rs:272
↓ 1 callersMethodprocess_single_transitive_dependency
Process a single transitive dependency
crates/resolver/src/resolver.rs:426
↓ 1 callersFunctionprocess_source_dest_command
Process commands that have source and destination paths
crates/builder/src/security/parser.rs:208
↓ 1 callersMethodprocess_transitive_dependencies
Process transitive dependencies
crates/resolver/src/resolver.rs:267
↓ 1 callersMethodprogress_message
Returns the progress message
crates/ops/src/update.rs:53
↓ 1 callersMethodpropagate
Unit propagation with two-watched literals
crates/resolver/src/sat/solver.rs:213
↓ 1 callersMethodpublish_index
Serialize and sign index, then publish `index.json` and `index.json.minisig` to store. # Errors Returns an error if index serialization fails, minis
crates/repository/src/lib.rs:182
↓ 1 callersFunctionpublish_one
( package: PathBuf, repo_dir: PathBuf, base_url: String, key: PathBuf, pass: Option<String
apps/sbs/src/main.rs:126
↓ 1 callersMethodpython
Build with Python # Errors Returns an error if the python3 command fails.
crates/builder/src/core/api.rs:557
↓ 1 callersFunctionqa_findings_from_report
(report: &Report)
crates/builder/src/artifact_qa/mod.rs:367
↓ 1 callersFunctionqa_level_for_profile
(profile: BuildSystemProfile)
crates/builder/src/artifact_qa/mod.rs:359
↓ 1 callersFunctionqa_target
(ctx: &BuildContext)
crates/builder/src/artifact_qa/mod.rs:352
↓ 1 callersMethodread_last_gc_timestamp
Read the last GC timestamp from file
apps/sps2/src/setup.rs:406
↓ 1 callersMethodrecord_fix_permissions_request
Record that `fix_permissions` was requested
crates/builder/src/environment/core.rs:225
← previousnext →801–900 of 2,023, ranked by callers