Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexykn/sps2
/ functions
Functions
2,023 in github.com/alexykn/sps2
⨍
Functions
2,023
◇
Types & classes
456
↓ 1 callers
Method
record_implication
Record an implication
crates/resolver/src/sat/conflict_analysis.rs:30
↓ 1 callers
Method
recover_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 callers
Function
recover_if_needed
Checks for and completes an interrupted transaction
apps/sps2/src/main.rs:475
↓ 1 callers
Method
refresh_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 callers
Method
register_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 callers
Method
remove_build_artifacts
Remove build artifacts and development files
crates/builder/src/artifact_qa/patchers/python_bytecode_cleanup.rs:97
↓ 1 callers
Method
remove_bytecode_files
Remove individual bytecode files (.pyc, .pyo, etc.)
crates/builder/src/artifact_qa/patchers/python_bytecode_cleanup.rs:45
↓ 1 callers
Method
remove_cached_tool
Remove a tool from the cache
crates/platform/src/core/mod.rs:545
↓ 1 callers
Method
remove_direct_url_files
Remove `direct_url.json` files that contain hardcoded paths
crates/builder/src/build_systems/python.rs:585
↓ 1 callers
Method
remove_file
Remove a single file
crates/platform/src/implementations/macos/filesystem.rs:642
↓ 1 callers
Method
remove_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 callers
Function
remove_package_map
Remove package mapping entry # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:1035
↓ 1 callers
Method
remove_pip_artifacts
Remove pip cache and metadata files
crates/builder/src/artifact_qa/patchers/python_bytecode_cleanup.rs:154
↓ 1 callers
Method
remove_pycache_dirs
Remove all __pycache__ directories and their contents
crates/builder/src/artifact_qa/patchers/python_bytecode_cleanup.rs:18
↓ 1 callers
Function
remove_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 callers
Function
remove_tmp_link
(path: &Path)
crates/platform/src/fs.rs:462
↓ 1 callers
Function
remove_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 callers
Method
render
(&self, title: &str)
crates/builder/src/artifact_qa/reports.rs:55
↓ 1 callers
Method
render_build_report
Render build report
apps/sps2/src/display.rs:283
↓ 1 callers
Method
render_health_check
Render health check results
apps/sps2/src/display.rs:408
↓ 1 callers
Method
render_install_report
Render installation report
apps/sps2/src/display.rs:220
↓ 1 callers
Method
render_json
Render as JSON
apps/sps2/src/display.rs:43
↓ 1 callers
Method
render_op_report
Render operation report
apps/sps2/src/display.rs:480
↓ 1 callers
Method
render_package_info
Render package information
apps/sps2/src/display.rs:132
↓ 1 callers
Method
render_package_list
Render package list
apps/sps2/src/display.rs:91
↓ 1 callers
Method
render_result
Render operation result
apps/sps2/src/display.rs:34
↓ 1 callers
Method
render_search_results
Render search results
apps/sps2/src/display.rs:181
↓ 1 callers
Method
render_state_history
Render state history
apps/sps2/src/display.rs:366
↓ 1 callers
Method
render_state_info
Render state information
apps/sps2/src/display.rs:295
↓ 1 callers
Method
render_success_message
Render success message
apps/sps2/src/display.rs:474
↓ 1 callers
Method
render_table
Render as formatted table
apps/sps2/src/display.rs:50
↓ 1 callers
Method
render_verification_result
(&self, result: &sps2_ops::VerificationResult)
apps/sps2/src/display.rs:66
↓ 1 callers
Function
replace_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 callers
Function
replace_current_executable
Replace current executable atomically
crates/ops/src/self_update.rs:182
↓ 1 callers
Function
repo_init
(opts: RepoInitOpts)
apps/sbs/src/main.rs:221
↓ 1 callers
Function
reposync
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 callers
Method
require_package
Mark a package as required
crates/resolver/src/sat/mod.rs:82
↓ 1 callers
Method
rescale
Rescale all scores to prevent overflow
crates/resolver/src/sat/conflict_analysis.rs:251
↓ 1 callers
Method
resign_binary
Re-sign a binary with ad-hoc signature
crates/builder/src/artifact_qa/patchers/codesigner.rs:36
↓ 1 callers
Method
resolve_dependencies
Resolve dependencies for installation
crates/install/src/operations.rs:115
↓ 1 callers
Function
resolve_output_directory
(output_dir: Option<&Path>)
crates/ops/src/build.rs:150
↓ 1 callers
Method
resolve_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 callers
Function
resolve_symlinks_safe
Safely resolve symlinks with loop detection
crates/builder/src/security/path_resolver.rs:63
↓ 1 callers
Method
resolver
Get resolver
apps/sps2/src/setup.rs:85
↓ 1 callers
Method
restart
Restart the search
crates/resolver/src/sat/solver.rs:446
↓ 1 callers
Function
rollback
Rollback to a previous state # Errors Returns an error if: - No previous state exists - Rollback operation fails
crates/ops/src/maintenance.rs:277
↓ 1 callers
Method
rollback_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 callers
Method
run_autoreconf
Run autoreconf if needed
crates/builder/src/build_systems/autotools.rs:68
↓ 1 callers
Function
run_patchers
Utility that runs patchers and merges their reports.
crates/builder/src/artifact_qa/mod.rs:316
↓ 1 callers
Method
runtime_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 callers
Method
save
Save platform cache to file
crates/platform/src/core/mod.rs:169
↓ 1 callers
Method
save
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 callers
Method
save
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 callers
Method
save_etag
Save `ETag` # Errors Returns an error if the metadata file cannot be written.
crates/index/src/cache.rs:146
↓ 1 callers
Method
save_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 callers
Method
save_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 callers
Method
save_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 callers
Method
scan_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 callers
Function
search_packages
Search for packages # Errors Returns an error if package search fails.
crates/ops/src/query.rs:193
↓ 1 callers
Method
security_policy
Get the security policy if set
crates/install/src/prepare/context.rs:56
↓ 1 callers
Method
seed_default_repositories_and_keys
Seed default repositories and embedded public keys on first run
apps/sps2/src/setup.rs:128
↓ 1 callers
Function
self_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 callers
Method
set_build_metadata
Set build metadata
crates/builder/src/environment/core.rs:197
↓ 1 callers
Method
set_conflict
Set the conflict clause
crates/resolver/src/sat/conflict_analysis.rs:35
↓ 1 callers
Method
set_event_sender
Set event sender for tool discovery notifications
crates/platform/src/core/mod.rs:399
↓ 1 callers
Function
set_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 callers
Method
set_install_name
( &self, ctx: &PlatformContext, binary: &Path, name: &str, )
crates/platform/src/implementations/macos/binary.rs:153
↓ 1 callers
Method
set_isolation
Set isolation level
crates/builder/src/core/api.rs:766
↓ 1 callers
Method
set_isolation_level_from_recipe
Set isolation level from recipe
crates/builder/src/environment/core.rs:235
↓ 1 callers
Method
set_parent_id
Update the parent identifier for this tracker.
crates/events/src/progress/tracker.rs:222
↓ 1 callers
Method
set_staging_dir
Set staging directory
crates/builder/src/environment/core.rs:124
↓ 1 callers
Function
set_store_ref_count
Force-set archive refcount # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:280
↓ 1 callers
Method
set_version_preference
Set version preference based on variable map
crates/resolver/src/sat/solver.rs:76
↓ 1 callers
Method
set_working_dir
Update the working directory (used after git clone to point to the correct source)
crates/builder/src/core/api.rs:79
↓ 1 callers
Method
setup_build_deps_environment
Setup environment for build dependencies
crates/builder/src/environment/variables.rs:141
↓ 1 callers
Method
setup_build_environment
Setup build environment with full isolation
crates/builder/src/core/builder.rs:163
↓ 1 callers
Method
setup_clean_build_environment
Setup clean build environment variables
crates/builder/src/environment/hermetic.rs:137
↓ 1 callers
Method
setup_clean_environment
Setup a clean environment by removing potentially harmful variables
crates/builder/src/environment/variables.rs:100
↓ 1 callers
Method
setup_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 callers
Method
setup_environment
Setup base environment variables for isolated build
crates/builder/src/environment/variables.rs:43
↓ 1 callers
Method
setup_offline_mode
Setup offline mode and vendoring
crates/builder/src/build_systems/nodejs.rs:72
↓ 1 callers
Function
setup_private_home
Setup a private home directory for enhanced isolation
crates/builder/src/environment/hermetic.rs:416
↓ 1 callers
Method
setup_private_tmp
Setup private temporary directory
crates/builder/src/environment/hermetic.rs:255
↓ 1 callers
Function
setup_private_tmpdir
Setup a private temporary directory for enhanced isolation
crates/builder/src/environment/hermetic.rs:449
↓ 1 callers
Method
setup_temp_home
Setup temporary home directory
crates/builder/src/environment/hermetic.rs:188
↓ 1 callers
Method
setup_vendoring
Setup vendored dependencies for offline builds
crates/builder/src/build_systems/cargo.rs:38
↓ 1 callers
Method
setup_vendoring
Setup Go module vendoring for offline builds
crates/builder/src/build_systems/go.rs:39
↓ 1 callers
Function
shell_builtins_commands
Shell built-ins and control flow
crates/config/src/builder.rs:709
↓ 1 callers
Function
should_report_progress
Handle progress reporting during download
crates/net/src/download/stream.rs:88
↓ 1 callers
Method
should_run_startup_gc
Check if startup GC should run
apps/sps2/src/setup.rs:327
↓ 1 callers
Function
should_strip_zip_components
Check if a zip archive should have its first component stripped
crates/builder/src/core/api.rs:1534
↓ 1 callers
Method
show_check_preview
Show check mode preview
apps/sps2/src/events.rs:1696
↓ 1 callers
Method
show_check_summary
Show check mode summary
apps/sps2/src/events.rs:1715
↓ 1 callers
Method
show_message
(&mut self, message: &str, severity: EventSeverity)
apps/sps2/src/events.rs:176
↓ 1 callers
Method
show_operation_message
(&mut self, message: &str, operation: &str, severity: EventSeverity)
apps/sps2/src/events.rs:168
↓ 1 callers
Function
show_path_reminder_if_needed
Show PATH reminder if needed
apps/sps2/src/main.rs:434
↓ 1 callers
Method
show_unhandled_event
Show unhandled event message
apps/sps2/src/events.rs:1596
↓ 1 callers
Method
sign_binary
Convenience method: Sign a binary
crates/platform/src/core/mod.rs:973
↓ 1 callers
Function
sign_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 callers
Method
sign_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
← previous
next →
901–1,000 of 2,023, ranked by callers