MCPcopy Create free account

hub / github.com/alexykn/sps2 / functions

Functions2,023 in github.com/alexykn/sps2

↓ 1 callersMethodbuild_root
(&self)
crates/builder/src/security/context.rs:322
↓ 1 callersFunctionbuild_session
( package_name: String, package_version: Version, )
crates/ops/src/build.rs:133
↓ 1 callersFunctionbuild_tools_commands
Build tools and compilers
crates/config/src/builder.rs:636
↓ 1 callersMethodbuild_wheel_uv
Build wheel using uv
crates/builder/src/build_systems/python.rs:173
↓ 1 callersMethodbuilder
Get builder
apps/sps2/src/setup.rs:90
↓ 1 callersMethodbump_clause
Bump activity of variables in a clause
crates/resolver/src/sat/conflict_analysis.rs:228
↓ 1 callersMethodcache_tool
Cache tool information
crates/platform/src/core/mod.rs:658
↓ 1 callersFunctioncalculate_archive_decreases
Calculate archive refcount decreases for removed hashes. # Errors Returns an error if the database operation fails.
crates/state/src/db/refcount_deltas.rs:104
↓ 1 callersFunctioncalculate_archive_increases
Calculate archive refcount increases for new hashes. # Errors Returns an error if the database operation fails.
crates/state/src/db/refcount_deltas.rs:40
↓ 1 callersFunctioncalculate_backoff_delay
Calculate exponential backoff delay with jitter This function implements exponential backoff with proper overflow protection and jitter to prevent th
crates/net/src/download/retry.rs:10
↓ 1 callersMethodcalculate_eta
Calculate ETA using multiple sophisticated methods
crates/events/src/progress/tracker.rs:233
↓ 1 callersFunctioncalculate_file_decreases
Calculate file refcount decreases for removed hashes. # Errors Returns an error if the database operation fails.
crates/state/src/db/refcount_deltas.rs:261
↓ 1 callersFunctioncalculate_file_increases
Calculate file refcount increases for new hashes. # Errors Returns an error if the database operation fails.
crates/state/src/db/refcount_deltas.rs:195
↓ 1 callersMethodcalculate_phase_aware_eta
Calculate phase-aware ETA considering current phase progress
crates/events/src/progress/tracker.rs:286
↓ 1 callersMethodcalculate_size
Calculate the size of a file or directory recursively
crates/platform/src/implementations/macos/filesystem.rs:34
↓ 1 callersMethodcalculate_smoothed_speed
Calculate smoothed speed with outlier detection
crates/events/src/progress/speed.rs:92
↓ 1 callersMethodcalculate_trend_aware_eta
Calculate trend-aware ETA considering acceleration/deceleration
crates/events/src/progress/tracker.rs:323
↓ 1 callersFunctioncanonicalize_recipe_path
(recipe_path: &Path)
crates/ops/src/build.rs:157
↓ 1 callersMethodcargo
Build with Cargo # Errors Returns an error if the cargo command fails. # Panics Panics if the binary filename cannot be extracted from the path.
crates/builder/src/core/api.rs:477
↓ 1 callersFunctioncheck_health
Check system health # Errors Returns an error if health check fails.
crates/ops/src/health.rs:20
↓ 1 callersFunctioncheck_index_health
Check index health
crates/ops/src/health.rs:217
↓ 1 callersFunctioncheck_macho_file
( data: &[u8], kind: FileKind, build_paths: &[&str], file_path: &std::path::Path, collecto
crates/builder/src/artifact_qa/scanners/macho.rs:87
↓ 1 callersMethodcheck_packages_for_updates
( &self, packages_to_update: &[sps2_state::models::Package], context: &UpdateContext,
crates/install/src/operations.rs:351
↓ 1 callersMethodcheck_permissions
Check permissions on system directories
apps/sps2/src/setup.rs:157
↓ 1 callersFunctioncheck_state_health
Check state database health
crates/ops/src/health.rs:199
↓ 1 callersFunctioncheck_store_health
(ctx: &OpsCtx, issues: &mut Vec<HealthIssue>)
crates/ops/src/health.rs:105
↓ 1 callersMethodclean_orphaned_staging
Clean up orphaned staging directories (only safe to remove)
apps/sps2/src/setup.rs:348
↓ 1 callersFunctioncleanup
Clean up orphaned packages and old states # Errors Returns an error if cleanup operation fails.
crates/ops/src/maintenance.rs:181
↓ 1 callersMethodcleanup
Clean up the store (remove empty directories) # Errors Returns an error if directory cleanup operations fail
crates/store/src/lib.rs:324
↓ 1 callersMethodcleanup_dir
(&self, dir: &Path)
crates/store/src/lib.rs:330
↓ 1 callersFunctioncleanup_directories
Clean up directories
crates/builder/src/stages/executors.rs:316
↓ 1 callersMethodcleanup_old_states
Clean up old states # Errors Returns an error if database operations fail.
crates/state/src/manager.rs:797
↓ 1 callersFunctioncleanup_python_runtime_artifacts
Clean up remaining Python runtime artifacts After removing tracked files, this removes any remaining runtime artifacts (e.g., __pycache__, .pyc files
crates/install/src/atomic/fs.rs:172
↓ 1 callersMethodclear
Clear the cache # Errors This function does not return errors as file removal failures are ignored.
crates/index/src/cache.rs:118
↓ 1 callersMethodclear_environment_vars
Clear all environment variables except those whitelisted
crates/builder/src/environment/hermetic.rs:118
↓ 1 callersFunctionclone_path
Clone a file or directory using APFS clonefile with security flags
crates/platform/src/fs.rs:24
↓ 1 callersMethodcmake
Configure with `CMake` # Errors Returns an error if the cmake or make commands fail.
crates/builder/src/core/api.rs:384
↓ 1 callersFunctioncollect_files
Helper function to collect all files in a directory recursively
crates/hash/src/lib.rs:446
↓ 1 callersMethodcollect_files
( &self, base: &Path, dir: &Path, files: &mut Vec<PathBuf>, )
crates/store/src/package.rs:185
↓ 1 callersFunctioncollect_files_for_hashing
Helper function to collect files for hashing
crates/hash/src/file_hasher.rs:269
↓ 1 callersFunctioncollect_last_ref_and_inventory
(ctx: &OpsCtx)
crates/ops/src/maintenance.rs:84
↓ 1 callersFunctioncollect_required_hashes
( ctx: &OpsCtx, kept: &std::collections::HashSet<Uuid>, )
crates/ops/src/maintenance.rs:38
↓ 1 callersMethodcompatibility_info
(&self)
crates/types/src/format.rs:106
↓ 1 callersMethodcomplete
Complete a tracker
crates/events/src/progress/manager.rs:124
↓ 1 callersMethodcomplete_child_tracker
Complete a child tracker and update parent progress # Errors Returns an error if the event cannot be sent to the event channel.
crates/events/src/progress/manager.rs:388
↓ 1 callersMethodcomplete_package
(&self, finished: &PackageId)
crates/resolver/src/execution.rs:222
↓ 1 callersMethodcompleted_count
(&self)
crates/resolver/src/execution.rs:258
↓ 1 callersFunctioncompress_with_zstd
Compress tar archive with zstd using async-compression Compress a tar file using Zstandard compression # Errors Returns an error if file I/O operati
crates/builder/src/packaging/compression.rs:17
↓ 1 callersFunctioncompute_kept_states
( ctx: &OpsCtx, keep_count: usize, keep_days: i64, )
crates/ops/src/maintenance.rs:13
↓ 1 callersMethodcompute_staging_hash
Compute hash of staging directory contents
crates/store/src/lib.rs:539
↓ 1 callersFunctionconfigure_builder
(ctx: &OpsCtx, network: bool, jobs: Option<usize>)
crates/ops/src/build.rs:167
↓ 1 callersFunctionconfigure_scripts_commands
Configure scripts and build bootstrappers
crates/config/src/builder.rs:648
↓ 1 callersMethodconstraints
(&self)
crates/types/src/version.rs:146
↓ 1 callersMethodcopy
Copy source files from a directory to the working directory # Errors Returns an error if: - The source path doesn't exist - File copy operations fai
crates/builder/src/core/api.rs:1141
↓ 1 callersMethodcopy_built_artifacts
Find and copy built artifacts
crates/builder/src/build_systems/nodejs.rs:255
↓ 1 callersFunctioncopy_dir_recursive
Recursively copy directory contents
crates/builder/src/build_systems/nodejs.rs:649
↓ 1 callersFunctioncopy_directory
Recursively copy a directory # Errors Returns an error if: - Creating the destination directory fails - Reading the source directory fails - Copying
crates/platform/src/fs.rs:156
↓ 1 callersFunctioncopy_directory_strip_live_prefix
Recursively copy directory contents while stripping the opt/pm/live prefix
crates/builder/src/utils/fileops.rs:32
↓ 1 callersFunctioncopy_source_files
Copy source files from recipe directory to working directory (excluding .star files)
crates/builder/src/utils/fileops.rs:55
↓ 1 callersFunctioncreate_deterministic_tar_archive
Create deterministic tar archive from directory using the tar crate Ensures identical input produces identical compressed output for reproducible buil
crates/builder/src/packaging/archive.rs:20
↓ 1 callersFunctioncreate_deterministic_tar_archive_with_timestamp
Create deterministic tar archive with explicit timestamp (for testing) Ensures identical input produces identical compressed output for reproducible b
crates/builder/src/packaging/archive.rs:32
↓ 1 callersMethodcreate_install_tracker
Create standardized install progress tracker
crates/events/src/progress/mod.rs:139
↓ 1 callersMethodcreate_minimal_dotfiles
Create minimal dotfiles in temp home
crates/builder/src/environment/hermetic.rs:225
↓ 1 callersFunctioncreate_minimal_dotfiles_public
Create minimal dotfiles in a directory
crates/builder/src/environment/hermetic.rs:479
↓ 1 callersFunctioncreate_package
Create the final package # Errors Returns an error if: - Python package structure creation fails (for Python packages) - Manifest serialization to T
crates/builder/src/packaging/mod.rs:68
↓ 1 callersMethodcreate_platform_context
(&self, event_sender: Option<EventSender>)
crates/builder/src/artifact_qa/patchers/rpath.rs:33
↓ 1 callersFunctioncreate_python_metadata_from_env
Create Python metadata for builder-centric approach
crates/builder/src/packaging/manifest.rs:48
↓ 1 callersFunctioncreate_python_package_structure
Create Python package structure and metadata # Errors Returns an error if: - Required Python environment variables are missing - Directory creation
crates/builder/src/packaging/mod.rs:283
↓ 1 callersFunctioncreate_sp_package
Create a .sp package archive with manifest and tar+zstd compression # Errors Returns an error if: - Directory creation fails - File I/O operations f
crates/builder/src/packaging/mod.rs:110
↓ 1 callersMethodcreate_state_with_tx
Create state with transaction # Errors Returns an error if the database insert fails.
crates/state/src/manager.rs:896
↓ 1 callersMethodcreate_uninstall_tracker
Create standardized uninstall progress tracker
crates/events/src/progress/mod.rs:226
↓ 1 callersFunctioncreate_update_report
( result: &sps2_install::InstallResult, installed_map: &std::collections::HashMap<String, sps2_types::
crates/ops/src/update.rs:208
↓ 1 callersMethodcreate_update_tracker
Create standardized update/upgrade progress tracker
crates/events/src/progress/mod.rs:191
↓ 1 callersMethodcreate_venv
Create virtual environment for isolated builds
crates/builder/src/build_systems/python.rs:89
↓ 1 callersMethodcreate_wrapper_script
Create wrapper script for a Python executable
crates/builder/src/artifact_qa/patchers/python_isolation.rs:75
↓ 1 callersMethodcurrent_dir
Set the working directory for the command
crates/platform/src/process/mod.rs:49
↓ 1 callersMethoddecay_all
Decay all activities
crates/resolver/src/sat/conflict_analysis.rs:241
↓ 1 callersMethoddecide
Make a decision using VSIDS heuristic
crates/resolver/src/sat/solver.rs:366
↓ 1 callersFunctiondecrement_file_object_ref
Decrement a file refcount and return the new value. # Errors Returns an error if the database operations fail.
crates/state/src/file_queries_runtime.rs:167
↓ 1 callersFunctiondefault_allowed_commands
()
crates/config/src/builder.rs:619
↓ 1 callersFunctiondefault_allowed_env_vars
()
crates/config/src/builder.rs:556
↓ 1 callersFunctiondefault_allowed_read_paths
()
crates/config/src/builder.rs:574
↓ 1 callersFunctiondefault_allowed_shell
()
crates/config/src/builder.rs:803
↓ 1 callersFunctiondefault_allowed_write_paths
()
crates/config/src/builder.rs:583
↓ 1 callersFunctiondefault_cache_dir
()
crates/config/src/builder.rs:599
↓ 1 callersFunctiondefault_guard_enabled
()
crates/config/src/guard.rs:333
↓ 1 callersFunctiondefault_guard_lenient_symlink_directories
()
crates/config/src/guard.rs:337
↓ 1 callersFunctiondefault_history_verify_limit
()
crates/config/src/core.rs:187
↓ 1 callersFunctiondefault_isolation
()
crates/types/src/recipe.rs:286
↓ 1 callersFunctiondefault_isolation
()
crates/builder/src/recipe/model.rs:84
↓ 1 callersFunctiondefault_lenient_symlink_directories
()
crates/config/src/guard.rs:348
↓ 1 callersFunctiondefault_object_grace_days
()
crates/config/src/core.rs:183
↓ 1 callersFunctiondefault_orphaned_backup_dir
()
crates/config/src/guard.rs:367
↓ 1 callersFunctiondefault_orphaned_file_action
()
crates/config/src/guard.rs:363
↓ 1 callersFunctiondefault_package_grace_days
()
crates/config/src/core.rs:179
↓ 1 callersFunctiondefault_retention_count
()
crates/config/src/core.rs:159
↓ 1 callersFunctiondefault_retention_days
()
crates/config/src/core.rs:163
↓ 1 callersFunctiondefault_store_batch_size
()
crates/config/src/guard.rs:383
↓ 1 callersFunctiondefault_store_enable_quarantine
()
crates/config/src/guard.rs:391
↓ 1 callersFunctiondefault_store_max_age_days
()
crates/config/src/guard.rs:375
← previousnext →501–600 of 2,023, ranked by callers