MCPcopy Create free account

hub / github.com/alexykn/sps2 / functions

Functions2,023 in github.com/alexykn/sps2

↓ 1 callersMethodrecord_implication
Record an implication
crates/resolver/src/sat/conflict_analysis.rs:30
↓ 1 callersMethodrecover_from_journal
Recovers a transaction from the journal file if one exists. # Errors Returns an error if journal reading or recovery operations fail.
crates/state/src/manager.rs:250
↓ 1 callersFunctionrecover_if_needed
Checks for and completes an interrupted transaction
apps/sps2/src/main.rs:475
↓ 1 callersMethodrefresh_slot_states
Refresh state markers from disk. # Errors Returns an error if reading markers or persisting metadata fails.
crates/state/src/live_slots.rs:158
↓ 1 callersMethodregister_child_tracker
Register a child tracker with its parent # Errors Returns an error if the event cannot be sent to the event channel.
crates/events/src/progress/manager.rs:365
↓ 1 callersMethodremove_build_artifacts
Remove build artifacts and development files
crates/builder/src/artifact_qa/patchers/python_bytecode_cleanup.rs:97
↓ 1 callersMethodremove_bytecode_files
Remove individual bytecode files (.pyc, .pyo, etc.)
crates/builder/src/artifact_qa/patchers/python_bytecode_cleanup.rs:45
↓ 1 callersMethodremove_cached_tool
Remove a tool from the cache
crates/platform/src/core/mod.rs:545
↓ 1 callersMethodremove_direct_url_files
Remove `direct_url.json` files that contain hardcoded paths
crates/builder/src/build_systems/python.rs:585
↓ 1 callersMethodremove_file
Remove a single file
crates/platform/src/implementations/macos/filesystem.rs:642
↓ 1 callersMethodremove_key
Remove a trusted key by its key ID # Errors Returns an error if saving the updated trusted keys fails.
crates/ops/src/keys.rs:324
↓ 1 callersFunctionremove_package_map
Remove package mapping entry # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:1035
↓ 1 callersMethodremove_pip_artifacts
Remove pip cache and metadata files
crates/builder/src/artifact_qa/patchers/python_bytecode_cleanup.rs:154
↓ 1 callersMethodremove_pycache_dirs
Remove all __pycache__ directories and their contents
crates/builder/src/artifact_qa/patchers/python_bytecode_cleanup.rs:18
↓ 1 callersFunctionremove_repo
Remove a repository by name. Supports standard names (fast/slow/stable) and extras. # Errors Returns an error if the configuration cannot be loaded
crates/ops/src/repository.rs:253
↓ 1 callersFunctionremove_tmp_link
(path: &Path)
crates/platform/src/fs.rs:462
↓ 1 callersFunctionremove_tracked_entries
Remove tracked package entries from staging directory Takes a transition and a list of file paths, removes them in safe order: symlinks first, then r
crates/install/src/atomic/fs.rs:67
↓ 1 callersMethodrender
(&self, title: &str)
crates/builder/src/artifact_qa/reports.rs:55
↓ 1 callersMethodrender_build_report
Render build report
apps/sps2/src/display.rs:283
↓ 1 callersMethodrender_health_check
Render health check results
apps/sps2/src/display.rs:408
↓ 1 callersMethodrender_install_report
Render installation report
apps/sps2/src/display.rs:220
↓ 1 callersMethodrender_json
Render as JSON
apps/sps2/src/display.rs:43
↓ 1 callersMethodrender_op_report
Render operation report
apps/sps2/src/display.rs:480
↓ 1 callersMethodrender_package_info
Render package information
apps/sps2/src/display.rs:132
↓ 1 callersMethodrender_package_list
Render package list
apps/sps2/src/display.rs:91
↓ 1 callersMethodrender_result
Render operation result
apps/sps2/src/display.rs:34
↓ 1 callersMethodrender_search_results
Render search results
apps/sps2/src/display.rs:181
↓ 1 callersMethodrender_state_history
Render state history
apps/sps2/src/display.rs:366
↓ 1 callersMethodrender_state_info
Render state information
apps/sps2/src/display.rs:295
↓ 1 callersMethodrender_success_message
Render success message
apps/sps2/src/display.rs:474
↓ 1 callersMethodrender_table
Render as formatted table
apps/sps2/src/display.rs:50
↓ 1 callersMethodrender_verification_result
(&self, result: &sps2_ops::VerificationResult)
apps/sps2/src/display.rs:66
↓ 1 callersFunctionreplace_binary_string
Replace a string in binary data with null-padding to maintain file structure Returns true if replacement was made, false if new string was too long
crates/builder/src/artifact_qa/patchers/binary_string.rs:29
↓ 1 callersFunctionreplace_current_executable
Replace current executable atomically
crates/ops/src/self_update.rs:182
↓ 1 callersFunctionrepo_init
(opts: RepoInitOpts)
apps/sbs/src/main.rs:221
↓ 1 callersFunctionreposync
Sync repository index # Errors Returns an error if index synchronization fails. # Panics Panics if `base_url` is None after validation (should nev
crates/ops/src/repository.rs:20
↓ 1 callersMethodrequire_package
Mark a package as required
crates/resolver/src/sat/mod.rs:82
↓ 1 callersMethodrescale
Rescale all scores to prevent overflow
crates/resolver/src/sat/conflict_analysis.rs:251
↓ 1 callersMethodresign_binary
Re-sign a binary with ad-hoc signature
crates/builder/src/artifact_qa/patchers/codesigner.rs:36
↓ 1 callersMethodresolve_dependencies
Resolve dependencies for installation
crates/install/src/operations.rs:115
↓ 1 callersFunctionresolve_output_directory
(output_dir: Option<&Path>)
crates/ops/src/build.rs:150
↓ 1 callersMethodresolve_path
Resolve a path to absolute form in current context # Errors Returns an error if: - Path normalization fails - Symlink resolution fails - Path contai
crates/builder/src/security/context.rs:219
↓ 1 callersFunctionresolve_symlinks_safe
Safely resolve symlinks with loop detection
crates/builder/src/security/path_resolver.rs:63
↓ 1 callersMethodresolver
Get resolver
apps/sps2/src/setup.rs:85
↓ 1 callersMethodrestart
Restart the search
crates/resolver/src/sat/solver.rs:446
↓ 1 callersFunctionrollback
Rollback to a previous state # Errors Returns an error if: - No previous state exists - Rollback operation fails
crates/ops/src/maintenance.rs:277
↓ 1 callersMethodrollback_move_to_state
Rollback by moving active to an existing target state without creating a new state row # Errors Returns an error if staging or filesystem operations
crates/install/src/atomic/installer.rs:316
↓ 1 callersMethodrun_autoreconf
Run autoreconf if needed
crates/builder/src/build_systems/autotools.rs:68
↓ 1 callersFunctionrun_patchers
Utility that runs patchers and merges their reports.
crates/builder/src/artifact_qa/mod.rs:316
↓ 1 callersMethodruntime_deps
Get runtime dependencies as `PackageSpec` # Errors Returns an error if any dependency specification string is invalid or cannot be parsed.
crates/types/src/manifest.rs:109
↓ 1 callersMethodsave
Save platform cache to file
crates/platform/src/core/mod.rs:169
↓ 1 callersMethodsave
Save index to cache # Errors Returns an error if the cache directory cannot be created or the file cannot be written.
crates/index/src/cache.rs:54
↓ 1 callersMethodsave
Save builder configuration to the default location # Errors Returns an error if the configuration cannot be serialized or if the file cannot be writ
crates/config/src/builder.rs:382
↓ 1 callersMethodsave_etag
Save `ETag` # Errors Returns an error if the metadata file cannot be written.
crates/index/src/cache.rs:146
↓ 1 callersMethodsave_to
Save configuration to a specific path # Errors Returns an error if the configuration cannot be serialized or if the file cannot be written.
crates/config/src/lib.rs:354
↓ 1 callersMethodsave_to
Save builder configuration to a specific path # Errors Returns an error if the configuration cannot be serialized or if the file cannot be written.
crates/config/src/builder.rs:393
↓ 1 callersMethodsave_to_cache
Save current index to cache # Errors Returns an error if the cache cannot be written to disk.
crates/index/src/lib.rs:71
↓ 1 callersMethodscan_packages_local_dir
Scan a directory for `.sp` files and return artifacts. # Errors Returns an error if directory entries cannot be read, or if hashing any matched pack
crates/repository/src/lib.rs:104
↓ 1 callersFunctionsearch_packages
Search for packages # Errors Returns an error if package search fails.
crates/ops/src/query.rs:193
↓ 1 callersMethodsecurity_policy
Get the security policy if set
crates/install/src/prepare/context.rs:56
↓ 1 callersMethodseed_default_repositories_and_keys
Seed default repositories and embedded public keys on first run
apps/sps2/src/setup.rs:128
↓ 1 callersFunctionself_update
Update sps2 to the latest version # Errors Returns an error if: - Failed to check for latest version - Failed to download or verify the new binary -
crates/ops/src/self_update.rs:20
↓ 1 callersMethodset_build_metadata
Set build metadata
crates/builder/src/environment/core.rs:197
↓ 1 callersMethodset_conflict
Set the conflict clause
crates/resolver/src/sat/conflict_analysis.rs:35
↓ 1 callersMethodset_event_sender
Set event sender for tool discovery notifications
crates/platform/src/core/mod.rs:399
↓ 1 callersFunctionset_file_object_ref_count
Force set a file object's refcount. # Errors Returns an error if the database operation fails.
crates/state/src/file_queries_runtime.rs:256
↓ 1 callersMethodset_install_name
( &self, ctx: &PlatformContext, binary: &Path, name: &str, )
crates/platform/src/implementations/macos/binary.rs:153
↓ 1 callersMethodset_isolation
Set isolation level
crates/builder/src/core/api.rs:766
↓ 1 callersMethodset_isolation_level_from_recipe
Set isolation level from recipe
crates/builder/src/environment/core.rs:235
↓ 1 callersMethodset_parent_id
Update the parent identifier for this tracker.
crates/events/src/progress/tracker.rs:222
↓ 1 callersMethodset_staging_dir
Set staging directory
crates/builder/src/environment/core.rs:124
↓ 1 callersFunctionset_store_ref_count
Force-set archive refcount # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:280
↓ 1 callersMethodset_version_preference
Set version preference based on variable map
crates/resolver/src/sat/solver.rs:76
↓ 1 callersMethodset_working_dir
Update the working directory (used after git clone to point to the correct source)
crates/builder/src/core/api.rs:79
↓ 1 callersMethodsetup_build_deps_environment
Setup environment for build dependencies
crates/builder/src/environment/variables.rs:141
↓ 1 callersMethodsetup_build_environment
Setup build environment with full isolation
crates/builder/src/core/builder.rs:163
↓ 1 callersMethodsetup_clean_build_environment
Setup clean build environment variables
crates/builder/src/environment/hermetic.rs:137
↓ 1 callersMethodsetup_clean_environment
Setup a clean environment by removing potentially harmful variables
crates/builder/src/environment/variables.rs:100
↓ 1 callersMethodsetup_dependencies
Setup build dependencies # Errors Returns an error if dependency resolution fails or build dependencies cannot be installed.
crates/builder/src/environment/dependencies.rs:19
↓ 1 callersMethodsetup_environment
Setup base environment variables for isolated build
crates/builder/src/environment/variables.rs:43
↓ 1 callersMethodsetup_offline_mode
Setup offline mode and vendoring
crates/builder/src/build_systems/nodejs.rs:72
↓ 1 callersFunctionsetup_private_home
Setup a private home directory for enhanced isolation
crates/builder/src/environment/hermetic.rs:416
↓ 1 callersMethodsetup_private_tmp
Setup private temporary directory
crates/builder/src/environment/hermetic.rs:255
↓ 1 callersFunctionsetup_private_tmpdir
Setup a private temporary directory for enhanced isolation
crates/builder/src/environment/hermetic.rs:449
↓ 1 callersMethodsetup_temp_home
Setup temporary home directory
crates/builder/src/environment/hermetic.rs:188
↓ 1 callersMethodsetup_vendoring
Setup vendored dependencies for offline builds
crates/builder/src/build_systems/cargo.rs:38
↓ 1 callersMethodsetup_vendoring
Setup Go module vendoring for offline builds
crates/builder/src/build_systems/go.rs:39
↓ 1 callersFunctionshell_builtins_commands
Shell built-ins and control flow
crates/config/src/builder.rs:709
↓ 1 callersFunctionshould_report_progress
Handle progress reporting during download
crates/net/src/download/stream.rs:88
↓ 1 callersMethodshould_run_startup_gc
Check if startup GC should run
apps/sps2/src/setup.rs:327
↓ 1 callersFunctionshould_strip_zip_components
Check if a zip archive should have its first component stripped
crates/builder/src/core/api.rs:1534
↓ 1 callersMethodshow_check_preview
Show check mode preview
apps/sps2/src/events.rs:1696
↓ 1 callersMethodshow_check_summary
Show check mode summary
apps/sps2/src/events.rs:1715
↓ 1 callersMethodshow_message
(&mut self, message: &str, severity: EventSeverity)
apps/sps2/src/events.rs:176
↓ 1 callersMethodshow_operation_message
(&mut self, message: &str, operation: &str, severity: EventSeverity)
apps/sps2/src/events.rs:168
↓ 1 callersFunctionshow_path_reminder_if_needed
Show PATH reminder if needed
apps/sps2/src/main.rs:434
↓ 1 callersMethodshow_unhandled_event
Show unhandled event message
apps/sps2/src/events.rs:1596
↓ 1 callersMethodsign_binary
Convenience method: Sign a binary
crates/platform/src/core/mod.rs:973
↓ 1 callersFunctionsign_package
Sign the package if signing is enabled # Errors Returns an error if: - Package signing fails (when signing is enabled) - Cryptographic operations fa
crates/builder/src/packaging/mod.rs:225
↓ 1 callersMethodsign_package
Sign a package file, creating a detached .minisig signature # Errors Returns an error if: - The private key path is not configured or doesn't exist
crates/builder/src/packaging/signing.rs:31
← previousnext →901–1,000 of 2,023, ranked by callers