MCPcopy Create free account

hub / github.com/alexykn/sps2 / functions

Functions2,023 in github.com/alexykn/sps2

↓ 1 callersMethodfix_rpath_dependencies
Fix dependencies that use @rpath by converting them to absolute paths (Absolute style)
crates/builder/src/artifact_qa/patchers/rpath.rs:191
↓ 1 callersMethodfix_shebangs
Fix shebangs in Python scripts to use correct Python path
crates/builder/src/build_systems/python.rs:956
↓ 1 callersMethodformat_package_status
Format package status as colored cell
apps/sps2/src/display.rs:542
↓ 1 callersMethodgenerate_lockfile_pip_compile
Generate lockfile using pip-compile
crates/builder/src/build_systems/python.rs:446
↓ 1 callersMethodgenerate_lockfile_uv
Generate lockfile using uv
crates/builder/src/build_systems/python.rs:383
↓ 1 callersMethodgenerate_lockfile_with_fallback
Generate lockfile with graceful fallback from uv to pip-compile
crates/builder/src/build_systems/python.rs:363
↓ 1 callersMethodget_all
(&self)
crates/config/src/repository.rs:28
↓ 1 callersMethodget_allowed_commands
(&self)
crates/config/src/builder.rs:431
↓ 1 callersFunctionget_base_url
(ctx: &OpsCtx)
crates/ops/src/repository.rs:77
↓ 1 callersMethodget_build_args
Get cargo build arguments
crates/builder/src/build_systems/cargo.rs:67
↓ 1 callersMethodget_build_script
Get build script name from package.json
crates/builder/src/build_systems/nodejs.rs:147
↓ 1 callersMethodget_cached_tool
Get cached tool if available and not expired
crates/platform/src/core/mod.rs:539
↓ 1 callersMethodget_cmake_args
Get `CMake` configuration arguments
crates/builder/src/build_systems/cmake.rs:94
↓ 1 callersFunctionget_deterministic_timestamp
()
crates/builder/src/packaging/archive.rs:178
↓ 1 callersMethodget_env_vars
Get the environment variables
crates/platform/src/process/mod.rs:95
↓ 1 callersMethodget_execution_env
Get environment variables for execution (no placeholder replacement needed)
crates/builder/src/environment/execution.rs:18
↓ 1 callersFunctionget_file_last_ref_map
Hash -> last reference timestamp from states. # Errors Returns an error if the database operation fails.
crates/state/src/file_queries_runtime.rs:351
↓ 1 callersMethodget_files_with_macho_issues
(&self)
crates/builder/src/artifact_qa/diagnostics.rs:229
↓ 1 callersMethodget_installed_packages
Get currently installed packages from system state
crates/builder/src/environment/dependencies.rs:216
↓ 1 callersFunctionget_latest_version
Get latest version from GitHub releases API
crates/ops/src/self_update.rs:112
↓ 1 callersMethodget_migration_path
Get migration path from one version to another
crates/types/src/format.rs:360
↓ 1 callersFunctionget_objects_needing_verification
Fetch file objects that need verification. # Errors Returns an error if the database operation fails.
crates/state/src/file_queries_runtime.rs:737
↓ 1 callersMethodget_package
(&self, var: Variable)
crates/resolver/src/sat/variable_map.rs:63
↓ 1 callersFunctionget_package_dependents
List package names that depend on the given package name across all versions # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:635
↓ 1 callersFunctionget_package_hash
Lookup store hash by name+version # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:1001
↓ 1 callersFunctionget_package_last_ref_map
Map archive hash -> last reference timestamp # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:554
↓ 1 callersFunctionget_package_venv_path
Venv path lookup (always None now) # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:928
↓ 1 callersMethodget_package_versions
(&self, name: &str)
crates/resolver/src/sat/variable_map.rs:69
↓ 1 callersFunctionget_packages_with_venvs
Packages with venvs (empty under v2 schema) # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:942
↓ 1 callersFunctionget_parent_state_id
Fetch parent state ID if any # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:725
↓ 1 callersFunctionget_patchers_for_profile
(profile: BuildSystemProfile)
crates/builder/src/artifact_qa/router.rs:120
↓ 1 callersFunctionget_resume_offset
Get the offset for resuming a download This function checks if a partial download exists, is large enough to resume, and validates its integrity befo
crates/net/src/download/resume.rs:17
↓ 1 callersMethodget_rpath_entries
( &self, ctx: &PlatformContext, binary: &Path, )
crates/platform/src/implementations/macos/binary.rs:453
↓ 1 callersMethodget_search_paths_for_tool
Get search paths for a specific tool (includes fallbacks)
crates/platform/src/core/mod.rs:631
↓ 1 callersMethodget_setup_args
Get Meson setup arguments
crates/builder/src/build_systems/meson.rs:46
↓ 1 callersFunctionget_state_package_names
List state names for a given state (unique package names) # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:366
↓ 1 callersFunctionget_states_for_cleanup
States eligible for cleanup by age and retention count # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:421
↓ 1 callersFunctionget_states_older_than
States older than cutoff timestamp # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:668
↓ 1 callersFunctionget_store_hash_for_package_hash
Lookup store hash by package archive hash # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:1019
↓ 1 callersMethodget_stored_package_format_info
Get package format information from a stored package # Errors Returns an error if the package is not found or format detection fails
crates/store/src/lib.rs:423
↓ 1 callersFunctionget_unreferenced_items
Fetch archive CAS rows with refcount <= 0 # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:300
↓ 1 callersFunctionget_verification_stats
Aggregate verification stats for live file objects. # Errors Returns an error if the database operation fails.
crates/state/src/file_queries_runtime.rs:837
↓ 1 callersMethodget_version
(&self, name: &str, version: &str)
crates/index/src/lib.rs:186
↓ 1 callersMethodgit
Clone a git repository # Errors Returns an error if: - Network access is disabled - The URL is invalid - The git clone fails
crates/builder/src/core/api.rs:249
↓ 1 callersMethodgo
Build with Go # Errors Returns an error if the go command fails.
crates/builder/src/core/api.rs:517
↓ 1 callersMethodhandle_config_cache
Handle config.cache for faster reconfiguration
crates/builder/src/build_systems/autotools.rs:85
↓ 1 callersMethodhandle_download_completed
Handle download completed event
apps/sps2/src/events.rs:1650
↓ 1 callersMethodhandle_download_failed
Handle download failed event
apps/sps2/src/events.rs:1671
↓ 1 callersMethodhandle_download_started
Handle download started event
apps/sps2/src/events.rs:1626
↓ 1 callersMethodhandle_libtool_finish
Handle libtool --finish requirements from command output
crates/builder/src/environment/execution.rs:242
↓ 1 callersMethodhandle_progress_event
(&mut self, meta: &EventMeta, progress_event: ProgressEvent)
apps/sps2/src/events.rs:1340
↓ 1 callersFunctionhandle_signature_verification_error
( ctx: &OpsCtx, e: SigningError, keys_url: &str, index_json: &str, index_signature: &str,
crates/ops/src/repository.rs:119
↓ 1 callersFunctionhard_link
Create a hard link with platform optimization # Errors Returns an error if: - The source file does not exist - The destination already exists - The
crates/platform/src/fs.rs:240
↓ 1 callersMethodhard_link
( &self, ctx: &PlatformContext, src: &Path, dst: &Path, )
crates/platform/src/implementations/macos/filesystem.rs:497
↓ 1 callersMethodhas_cycle_util
Utility function for cycle detection
crates/resolver/src/graph.rs:193
↓ 1 callersMethodhas_cycles
(&self)
crates/resolver/src/graph.rs:175
↓ 1 callersMethodhas_file
Check if a file exists in the store
crates/store/src/file_store.rs:97
↓ 1 callersMethodhas_file_hashes
(&self)
crates/store/src/package.rs:80
↓ 1 callersMethodhash_directory
Compute deterministic hash of a directory's contents using default algorithm (xxHash128) This creates a reproducible hash by: 1. Sorting all files by
crates/hash/src/lib.rs:313
↓ 1 callersMethodhash_directory
Hash all files in a directory recursively # Errors Returns an error if directory traversal fails or file operations fail
crates/hash/src/file_hasher.rs:140
↓ 1 callersMethodhighest_activity
(&self, unassigned: &[Variable])
crates/resolver/src/sat/conflict_analysis.rs:261
↓ 1 callersFunctionhistory
Get history of states # Errors Returns an error if state history retrieval fails.
crates/ops/src/maintenance.rs:499
↓ 1 callersMethodindex
Get index manager
apps/sps2/src/setup.rs:75
↓ 1 callersMethodinit_builder
Initialize builder
apps/sps2/src/setup.rs:263
↓ 1 callersMethodinit_index
Initialize index manager
apps/sps2/src/setup.rs:202
↓ 1 callersMethodinit_net
Initialize network client
apps/sps2/src/setup.rs:231
↓ 1 callersMethodinit_platform_cache
Initialize platform cache
apps/sps2/src/setup.rs:273
↓ 1 callersMethodinit_resolver
Initialize resolver
apps/sps2/src/setup.rs:253
↓ 1 callersMethodinit_state
Initialize state manager
apps/sps2/src/setup.rs:190
↓ 1 callersMethodinit_store
Initialize package store
apps/sps2/src/setup.rs:180
↓ 1 callersFunctioninit_tracing
Initialize tracing/logging
apps/sps2/src/main.rs:345
↓ 1 callersFunctioninit_tracing
()
apps/sbs/src/main.rs:120
↓ 1 callersMethodinitial_ready
(&self)
crates/resolver/src/execution.rs:196
↓ 1 callersMethodinitialize
Initialize all system components
apps/sps2/src/setup.rs:40
↓ 1 callersMethodinitialize
Initialize the build environment # Errors Returns an error if directories cannot be created or environment setup fails.
crates/builder/src/environment/directories.rs:14
↓ 1 callersMethodinitialize_cache
Initialize the tool cache from persistent storage This should be called once during application startup
crates/platform/src/core/mod.rs:872
↓ 1 callersFunctioninsert_file_object_eviction
Insert file eviction log entry # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:608
↓ 1 callersFunctioninsert_package_eviction
Insert archive eviction log entry # Errors Returns an error if the database operation fails.
crates/state/src/queries_runtime.rs:581
↓ 1 callersMethodinstall_build_dependency
Install a build dependency to isolated prefix # Errors Returns an error if the installer or store is not configured, or if installation fails.
crates/builder/src/environment/dependencies.rs:99
↓ 1 callersFunctioninstall_local_packages
Install local packages using the regular installer
crates/ops/src/install.rs:506
↓ 1 callersFunctioninstall_mixed_packages
Install mixed local and remote packages using hybrid approach
crates/ops/src/install.rs:531
↓ 1 callersFunctioninstall_package_to_staging
Install a single package to staging directory This function: - Validates prepared package data - Handles package upgrades by removing old versions -
crates/install/src/atomic/package.rs:172
↓ 1 callersFunctioninstall_remote_packages_parallel
Complex parallel pipeline orchestration with error handling
crates/ops/src/install.rs:349
↓ 1 callersMethodinto_findings
(self)
crates/builder/src/artifact_qa/diagnostics.rs:160
↓ 1 callersMethodis_any
(&self)
crates/types/src/version.rs:152
↓ 1 callersMethodis_compatible_with
(&self, other: &Self)
crates/types/src/format.rs:88
↓ 1 callersMethodis_compatible_with
(&self, other_version: &PackageFormatVersion)
crates/types/src/manifest.rs:183
↓ 1 callersMethodis_complete
(&self)
crates/resolver/src/execution.rs:252
↓ 1 callersFunctionis_dangerous_variable
Check if a variable name is dangerous to set
crates/builder/src/security/parser.rs:539
↓ 1 callersFunctionis_directory_empty
Check if a directory is empty (has no files or subdirectories)
crates/builder/src/artifact_qa/scanners/staging.rs:52
↓ 1 callersMethodis_healthy
(&self)
crates/ops/src/types.rs:80
↓ 1 callersMethodis_key_rotation_valid
Check if a key rotation is valid for a given key ID
crates/ops/src/keys.rs:273
↓ 1 callersMethodis_newer_than
(&self, other: &Self)
crates/types/src/format.rs:94
↓ 1 callersFunctionis_path_safe
Check if a path is safe (doesn't escape build environment)
crates/builder/src/security/path_resolver.rs:167
↓ 1 callersFunctionis_remote_rsync
Check if a command is trying to use rsync remotely
crates/builder/src/validation/rules.rs:91
↓ 1 callersMethodis_safe_executable
Check if a path is safe to execute
crates/builder/src/security/context.rs:294
↓ 1 callersFunctionis_safe_system_path_usage
Check if a system path usage is safe (e.g., reading from /usr/include is ok)
crates/builder/src/validation/command.rs:243
↓ 1 callersFunctionis_safe_variable
Check if a variable is safe
crates/builder/src/validation/parser.rs:425
↓ 1 callersMethodis_stale
(&self, max_age_days: u32)
crates/index/src/lib.rs:197
↓ 1 callersFunctionis_state_available
(ctx: &OpsCtx, state_id: &Uuid)
crates/ops/src/maintenance.rs:574
← previousnext →701–800 of 2,023, ranked by callers