MCPcopy Create free account

hub / github.com/chawyehsu/hok / functions

Functions375 in github.com/chawyehsu/hok

↓ 2 callersMethodhomepage
(&self)
crates/libscoop/src/package/mod.rs:152
↓ 2 callersFunctionhumansize
Convert bytes to KB/MB/GB representation.
src/util.rs:2
↓ 2 callersMethodinstaller
(&self)
crates/libscoop/src/package/manifest.rs:903
↓ 2 callersMethodload_cache
(&self)
crates/libscoop/src/package/download.rs:129
↓ 2 callersMethodmanifests
Get manifests from the bucket. # Returns a list of DirEntry of manifest files. # Errors I/O errors will be returned if the bucket directory is not
crates/libscoop/src/bucket.rs:161
↓ 2 callersMethodmd5
Use the md5 hash algorithm.
crates/scoop_hash/src/lib.rs:114
↓ 2 callersMethodno_junction
(&self)
crates/libscoop/src/config.rs:270
↓ 2 callersFunctionpackage_hold
Hold or unhold a package. # Errors This method will return an error if the package is not installed. A [`PackageHoldBrokenInstall`][1] error will b
crates/libscoop/src/operation.rs:320
↓ 2 callersMethodparse
Create a [`Manifest`] representation of a manfest JSON file with the given path. ## Errors If the process fails to read the file, this method will r
crates/libscoop/src/package/manifest.rs:748
↓ 2 callersMethodpost_install
(&self)
crates/libscoop/src/package/manifest.rs:888
↓ 2 callersMethodpost_uninstall
(&self)
crates/libscoop/src/package/manifest.rs:898
↓ 2 callersMethodpre_install
(&self)
crates/libscoop/src/package/manifest.rs:883
↓ 2 callersMethodpre_uninstall
(&self)
crates/libscoop/src/package/manifest.rs:893
↓ 2 callersMethodremote_url
Get the remote url of the bucket. # Returns The git remote url of the bucket, otherwise none if the bucket is not a git repository, or it's a local
crates/libscoop/src/bucket.rs:95
↓ 2 callersMethodremove_view
Get packages that will be removed with the transaction. # Returns A reference to the vector of packages that will be removed or `None` if no package
crates/libscoop/src/package/sync.rs:297
↓ 2 callersMethodresult
(mut self)
crates/scoop_hash/src/selfcontained/sha512.rs:146
↓ 2 callersMethodresult
(mut self)
crates/scoop_hash/src/selfcontained/md5.rs:70
↓ 2 callersMethodresult
(mut self)
crates/scoop_hash/src/selfcontained/sha256.rs:67
↓ 2 callersMethodresult
(mut self)
crates/scoop_hash/src/selfcontained/sha1.rs:56
↓ 2 callersFunctionselect_candidate
Select one from multiple package candidates, interactively if possible.
crates/libscoop/src/package/resolve.rs:113
↓ 2 callersFunctionset
Set the value of an environment variable. If the value is an empty string, the variable is deleted.
crates/libscoop/src/internal/env.rs:39
↓ 2 callersFunctionset_cookie
(easy: &mut Easy, cookie: &[(&str, &str)])
crates/libscoop/src/package/download.rs:433
↓ 2 callersMethodset_upgrade
(&self, packages: Vec<Package>)
crates/libscoop/src/package/sync.rs:236
↓ 2 callersMethodsha1
Use the sha1 hash algorithm.
crates/scoop_hash/src/lib.rs:120
↓ 2 callersMethodsha512
Use the sha512 hash algorithm.
crates/scoop_hash/src/lib.rs:132
↓ 2 callersMethodsource
(&self)
crates/libscoop/src/bucket.rs:107
↓ 2 callersMethodstep
(&mut self)
crates/libscoop/src/internal/dag.rs:163
↓ 2 callersFunctionsymlink
(src: P, lnk: Q)
crates/libscoop/src/internal/fs.rs:209
↓ 2 callersMethoduninstaller
(&self)
crates/libscoop/src/package/manifest.rs:907
↓ 2 callersMethodupgradable_version
Get the upgradable version of this package. # Returns The upgradable version when the package is upgradable, otherwise `None`.
crates/libscoop/src/package/mod.rs:315
↓ 1 callersMethodadd_view
(&self)
crates/libscoop/src/package/sync.rs:252
↓ 1 callersMethodalgo
Use the specified hash algorithm. # Errors Returns an error if the specified algorithm is not supported.
crates/scoop_hash/src/lib.rs:103
↓ 1 callersMethodalgorithm
Return the hash algorithm. # Returns - `md5` - `sha1` - `sha256` - `sha512`
crates/libscoop/src/package/manifest.rs:1117
↓ 1 callersMethodarchitecture
(&self)
crates/libscoop/src/package/manifest.rs:829
↓ 1 callersMethodargs
(&self)
crates/libscoop/src/package/manifest.rs:1152
↓ 1 callersFunctionbucket_add
Add a bucket to Scoop. # Errors This method will return an error if the bucket already exists, or the remote url is not specified when adding a non
crates/libscoop/src/operation.rs:46
↓ 1 callersFunctionbucket_list
Get a list of added buckets. # Returns A list of added buckets sorted by name.Buckets cannot be parsed will be filtered out. # Errors I/O errors w
crates/libscoop/src/operation.rs:81
↓ 1 callersFunctionbucket_list_known
Get a list of known (built-in) buckets. # Returns A list of known buckets.
crates/libscoop/src/operation.rs:93
↓ 1 callersFunctionbucket_remove
Remove a bucket from Scoop. # Errors This method will return an error if the bucket does not exist. I/O errors will be returned if the bucket direct
crates/libscoop/src/operation.rs:190
↓ 1 callersFunctionbucket_update
Update all added buckets. # Errors I/O errors will be returned if the `buckets` directory is not readable or failed to start up the update threads.
crates/libscoop/src/operation.rs:107
↓ 1 callersMethodcalculate_download_size
Calculate download size. This function is actually a pre-download process, which will try to fetch the remote file size of each package file.
crates/libscoop/src/package/download.rs:322
↓ 1 callersMethodcat_style
(&self)
crates/libscoop/src/config.rs:282
↓ 1 callersMethodcheck
Check if cyclic dependency exist in the graph. This method does not remove any nodes from the graph, instead it manipulates a clone of the graph.
crates/libscoop/src/internal/dag.rs:170
↓ 1 callersFunctionclone_repo
(remote_url: S, path: P, proxy: Option<S>)
crates/libscoop/src/internal/git.rs:44
↓ 1 callersMethodcommit
Commit config changes and save to the config file
crates/libscoop/src/config.rs:360
↓ 1 callersFunctionconfig_list
Get the configuation list. # Returns A string of the configuation list in pretty-printed JSON format. # Errors Serde errors will be returned if th
crates/libscoop/src/operation.rs:284
↓ 1 callersFunctioncreate_app
()
src/lib.rs:34
↓ 1 callersMethoddepends
(&self)
crates/libscoop/src/package/manifest.rs:824
↓ 1 callersMethoddownload
Download packages.
crates/libscoop/src/package/download.rs:191
↓ 1 callersMethoddownload_hashes
(&self)
crates/libscoop/src/package/mod.rs:223
↓ 1 callersFunctionempty_dir
(path: &P)
crates/libscoop/src/internal/fs.rs:31
↓ 1 callersMethodenv_add_path
Returns `env_add_path` defined in this manifest.
crates/libscoop/src/package/manifest.rs:851
↓ 1 callersMethodenv_set
Returns `env_set` defined in this manifest.
crates/libscoop/src/package/manifest.rs:857
↓ 1 callersFunctionerror
(input: &T)
src/lib.rs:13
↓ 1 callersMethodfail
Set the bucket progress to failed.
src/cui.rs:109
↓ 1 callersMethodfailed
Check if the state is failed.
crates/libscoop/src/bucket.rs:315
↓ 1 callersMethodfill_upgradable
(&self, upgradable: Package)
crates/libscoop/src/package/mod.rs:415
↓ 1 callersFunctionget
Get the value of an environment variable. Returns an empty string if the variable is not set.
crates/libscoop/src/internal/env.rs:31
↓ 1 callersFunctionget_path_like_env
Get the value of a path-like environment variable.
crates/libscoop/src/internal/env.rs:11
↓ 1 callersMethodhas_install_script
Check if this package defines install hooks (powershell scripts) in its manifest.
crates/libscoop/src/package/mod.rs:372
↓ 1 callersMethodhas_uninstall_script
Check if this package defines uninstall hooks (powershell scripts) in its manifest.
crates/libscoop/src/package/mod.rs:387
↓ 1 callersMethodhash
Extract file hashes from this manifest, in following order: - For `amd64` return "64bit" hashes if available else noarch hashes; - For `ia32` return
crates/libscoop/src/package/manifest.rs:950
↓ 1 callersMethodheld
(&self)
crates/libscoop/src/package/mod.rs:70
↓ 1 callersMethodidentifier
(&self)
crates/libscoop/src/package/manifest.rs:1052
↓ 1 callersMethodinit
Initialize the config with default values. This function will try to write the default config to the default path, located in the XDG_CONFIG_HOME dir
crates/libscoop/src/config.rs:245
↓ 1 callersMethodinner_receiver
Get the inbound receiver of the event bus.
crates/libscoop/src/event.rs:54
↓ 1 callersMethodinner_sender
Get the outbound sender of the event bus.
crates/libscoop/src/event.rs:49
↓ 1 callersMethodinnosetup
(&self)
crates/libscoop/src/package/manifest.rs:874
↓ 1 callersFunctioninstall
Sync operation: install and/or upgrade packages.
crates/libscoop/src/package/sync.rs:319
↓ 1 callersMethodis_installed
Check if the package is installed.
crates/libscoop/src/package/mod.rs:276
↓ 1 callersFunctionis_program_available
Check if a given executable is available on the system
src/cmd/cat.rs:87
↓ 1 callersMethodis_spdx
(&self)
crates/libscoop/src/package/manifest.rs:1058
↓ 1 callersFunctionleaf
(path: &P)
crates/libscoop/src/internal/path.rs:11
↓ 1 callersFunctionleaf_base
(path: &P)
crates/libscoop/src/internal/path.rs:19
↓ 1 callersMethodload
Load the config file from the config path.
crates/libscoop/src/config.rs:32
↓ 1 callersMethodpackage_name
(&self)
crates/libscoop/src/cache.rs:35
↓ 1 callersMethodpath_of_manifest
Get the manifest path of the given package name. # Returns The path of the manifest file, none if the package is not in the bucket.
crates/libscoop/src/bucket.rs:116
↓ 1 callersMethodpersist
(&self)
crates/libscoop/src/package/manifest.rs:913
↓ 1 callersFunctionpossible_config_paths
Get a list of possible config paths. There are 3 possible locations for the `config.json` file: 1) Side-by-side with the real executable (symlink res
crates/libscoop/src/config.rs:428
↓ 1 callersMethodpretty
Pretty print the config
crates/libscoop/src/config.rs:365
↓ 1 callersFunctionprogress
Report package download progress.
crates/libscoop/src/package/download.rs:471
↓ 1 callersMethodpsmodule
(&self)
crates/libscoop/src/package/manifest.rs:919
↓ 1 callersFunctionremote_url_of
(repo_path: &Path, remote: S)
crates/libscoop/src/internal/git.rs:84
↓ 1 callersFunctionremove
Unset all environment variables defined by a given package.
crates/libscoop/src/env.rs:4
↓ 1 callersMethodreset
(&mut self)
crates/libscoop/src/internal/dag.rs:91
↓ 1 callersMethodreset
(&mut self)
crates/scoop_hash/src/selfcontained/sha512.rs:135
↓ 1 callersMethodreset
(&mut self)
crates/scoop_hash/src/selfcontained/md5.rs:59
↓ 1 callersMethodreset
(&mut self)
crates/scoop_hash/src/selfcontained/sha256.rs:56
↓ 1 callersMethodreset
(&mut self)
crates/scoop_hash/src/selfcontained/sha1.rs:45
↓ 1 callersFunctionreset_head
NOTE: this will discard all local changes.
crates/libscoop/src/internal/git.rs:60
↓ 1 callersFunctionresolve_cascade
Resolve unneeded dependencies of the given packages. # Note This function is used to resolve the unneeded dependencies of the given packages. The un
crates/libscoop/src/package/resolve.rs:161
↓ 1 callersFunctionresolve_dependencies
Resolve dependencies of the given packages. # Note This function ensures that packages are unique and sorted in dependency first order.
crates/libscoop/src/package/resolve.rs:15
↓ 1 callersMethodset_download_size
(&self, download_size: DownloadSize)
crates/libscoop/src/package/sync.rs:248
↓ 1 callersMethodset_failed
(&mut self, msg: &str)
crates/libscoop/src/bucket.rs:285
↓ 1 callersMethodset_held
(&mut self, flag: bool)
crates/libscoop/src/package/manifest.rs:1271
↓ 1 callersMethodset_install
(&self, packages: Vec<Package>)
crates/libscoop/src/package/sync.rs:232
↓ 1 callersMethodset_remove
(&self, packages: Vec<Package>)
crates/libscoop/src/package/sync.rs:244
↓ 1 callersMethodset_replace
(&self, packages: Vec<Package>)
crates/libscoop/src/package/sync.rs:240
↓ 1 callersMethodset_succeeded
(&mut self)
crates/libscoop/src/bucket.rs:281
↓ 1 callersMethodset_user_agent
Set the user agent for the session. User agent is used when performing network related operations such as downloading packages. User agent for a sess
crates/libscoop/src/session.rs:142
← previousnext →101–200 of 375, ranked by callers