Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chawyehsu/hok
/ functions
Functions
375 in github.com/chawyehsu/hok
⨍
Functions
375
◇
Types & classes
95
↓ 1 callers
Function
setup_logger
(level_filter: LevelFilter)
src/cmd/mod.rs:106
↓ 1 callers
Method
shortcuts
(&self)
crates/libscoop/src/package/manifest.rs:923
↓ 1 callers
Function
start
CLI entry point
src/cmd/mod.rs:78
↓ 1 callers
Method
started
Check if the state is started.
crates/libscoop/src/bucket.rs:305
↓ 1 callers
Method
succeed
Set the bucket progress to successed.
src/cui.rs:116
↓ 1 callers
Method
succeeded
Check if the state is succeeded.
crates/libscoop/src/bucket.rs:310
↓ 1 callers
Function
symlink_dir
(src: P, lnk: Q)
crates/libscoop/src/internal/fs.rs:133
↓ 1 callers
Function
symlink_file
(src: P, lnk: Q)
crates/libscoop/src/internal/fs.rs:170
↓ 1 callers
Function
unlink
Remove PowerShell module imported by a given package.
crates/libscoop/src/persist.rs:4
↓ 1 callers
Method
update_valid_state
(&mut self)
crates/libscoop/src/package/download.rs:89
↓ 1 callers
Method
url
Extract download urls from this manifest: - For `amd64` return "64bit" urls if available else noarch urls; - For `ia32` return "32bit" urls if availa
crates/libscoop/src/package/manifest.rs:937
↓ 1 callers
Method
use_isolated_path
(&self)
crates/libscoop/src/config.rs:288
↓ 1 callers
Method
value
Return the hash value.
crates/libscoop/src/package/manifest.rs:1127
↓ 1 callers
Method
version
(&self)
crates/libscoop/src/cache.rs:41
↓ 1 callers
Method
walk
Walk the whole graph and pop all of the resolved nodes. An error will be returned when cyclic dependency is detected.
crates/libscoop/src/internal/dag.rs:183
↓ 1 callers
Method
walk_flatten
(&mut self)
crates/libscoop/src/internal/dag.rs:199
Method
__register
(nodes: &mut Nodes<T>, node: T, dep_node: Option<T>)
crates/libscoop/src/internal/dag.rs:217
Method
__step
(nodes: &mut Nodes<T>)
crates/libscoop/src/internal/dag.rs:204
Method
__unregister
(nodes: &mut Nodes<T>, node: &T)
crates/libscoop/src/internal/dag.rs:247
Method
actual
Actual hash.
crates/libscoop/src/package/mod.rs:486
Function
benchmark_md5_100
(c: &mut Criterion)
crates/scoop_hash/benches/md5.rs:11
Function
benchmark_md5_1000
(c: &mut Criterion)
crates/scoop_hash/benches/md5.rs:17
Function
benchmark_md5_10000
(c: &mut Criterion)
crates/scoop_hash/benches/md5.rs:23
Function
benchmark_md5_100000
(c: &mut Criterion)
crates/scoop_hash/benches/md5.rs:29
Function
benchmark_md5_1000000
(c: &mut Criterion)
crates/scoop_hash/benches/md5.rs:35
Function
benchmark_sha1_100
(c: &mut Criterion)
crates/scoop_hash/benches/sha1.rs:11
Function
benchmark_sha1_1000
(c: &mut Criterion)
crates/scoop_hash/benches/sha1.rs:17
Function
benchmark_sha1_10000
(c: &mut Criterion)
crates/scoop_hash/benches/sha1.rs:23
Function
benchmark_sha1_100000
(c: &mut Criterion)
crates/scoop_hash/benches/sha1.rs:29
Function
benchmark_sha1_1000000
(c: &mut Criterion)
crates/scoop_hash/benches/sha1.rs:35
Function
benchmark_sha256_100
(c: &mut Criterion)
crates/scoop_hash/benches/sha256.rs:11
Function
benchmark_sha256_1000
(c: &mut Criterion)
crates/scoop_hash/benches/sha256.rs:17
Function
benchmark_sha256_10000
(c: &mut Criterion)
crates/scoop_hash/benches/sha256.rs:23
Function
benchmark_sha256_100000
(c: &mut Criterion)
crates/scoop_hash/benches/sha256.rs:29
Function
benchmark_sha256_1000000
(c: &mut Criterion)
crates/scoop_hash/benches/sha256.rs:35
Function
benchmark_sha512_100
(c: &mut Criterion)
crates/scoop_hash/benches/sha512.rs:11
Function
benchmark_sha512_1000
(c: &mut Criterion)
crates/scoop_hash/benches/sha512.rs:17
Function
benchmark_sha512_10000
(c: &mut Criterion)
crates/scoop_hash/benches/sha512.rs:23
Function
benchmark_sha512_100000
(c: &mut Criterion)
crates/scoop_hash/benches/sha512.rs:29
Function
benchmark_sha512_1000000
(c: &mut Criterion)
crates/scoop_hash/benches/sha512.rs:35
Method
bucket
(&self)
crates/libscoop/src/package/manifest.rs:1256
Function
chaining_consume
()
crates/scoop_hash/src/selfcontained/sha512.rs:336
Function
chaining_consume
()
crates/scoop_hash/src/selfcontained/md5.rs:334
Function
chaining_consume
()
crates/scoop_hash/src/selfcontained/sha256.rs:258
Function
chaining_consume
()
crates/scoop_hash/src/selfcontained/sha1.rs:302
Method
check
(self, input: &str)
crates/scoop_hash/src/lib.rs:189
Method
checkver
(&self)
crates/libscoop/src/package/manifest.rs:840
Method
cookie
(&self)
crates/libscoop/src/package/manifest.rs:846
Method
default
()
crates/libscoop/src/config.rs:371
Method
default
()
crates/libscoop/src/session.rs:29
Method
default
()
crates/libscoop/src/event.rs:60
Method
default
()
crates/libscoop/src/package/sync.rs:313
Method
default
()
crates/scoop_hash/src/lib.rs:75
Method
default
()
crates/scoop_hash/src/selfcontained/sha512.rs:115
Method
default
()
crates/scoop_hash/src/selfcontained/md5.rs:39
Method
default
()
crates/scoop_hash/src/selfcontained/sha256.rs:36
Method
default
()
crates/scoop_hash/src/selfcontained/sha1.rs:25
Method
dependencies
Returns the dependencies of this manifest. This method returns all dependencies including the implicit ones, while [`depends`] returns the explicit d
crates/libscoop/src/package/manifest.rs:967
Method
deref
(&self)
crates/libscoop/src/config.rs:417
Method
deref
(&self)
crates/libscoop/src/internal/dag.rs:48
Method
deref_mut
(&mut self)
crates/libscoop/src/internal/dag.rs:55
Method
description
(&self)
crates/libscoop/src/package/manifest.rs:790
Method
deserialize
(deserializer: D)
crates/libscoop/src/package/manifest.rs:401
Function
execute
(args: Args, session: &Session)
src/cmd/config.rs:37
Function
execute
(args: Args, session: &Session)
src/cmd/bucket.rs:42
Function
execute
(args: Args)
src/cmd/completions.rs:14
Function
execute
(args: Args, session: &Session)
src/cmd/unhold.rs:16
Function
execute
(args: Args, session: &Session)
src/cmd/cleanup.rs:25
Function
execute
(args: Args, session: &Session)
src/cmd/uninstall.rs:31
Function
execute
(args: Args, session: &Session)
src/cmd/install.rs:53
Function
execute
(args: Args, session: &Session)
src/cmd/info.rs:14
Function
execute
(_: Args, session: &Session)
src/cmd/update.rs:11
Function
execute
(args: Args, session: &Session)
src/cmd/upgrade.rs:35
Function
execute
(args: Args, session: &Session)
src/cmd/cache.rs:33
Function
execute
(args: Args, session: &Session)
src/cmd/hold.rs:16
Function
execute
(args: Args, session: &Session)
src/cmd/list.rs:24
Function
execute
(args: Args, session: &Session)
src/cmd/search.rs:30
Function
execute
(args: Args, session: &Session)
src/cmd/home.rs:15
Method
expected
Expected hash.
crates/libscoop/src/package/mod.rs:481
Method
expecting
(&self, f: &mut fmt::Formatter)
crates/libscoop/src/package/manifest.rs:412
Method
extract_dir
Returns `extract_dir` defined in this manifest.
crates/libscoop/src/package/manifest.rs:862
Function
extract_name
Extact `name` from `bucket/name`.
crates/libscoop/src/package/mod.rs:428
Function
extract_name_and_bucket
(path: &Path)
crates/libscoop/src/internal/path.rs:23
Method
extract_to
(&self)
crates/libscoop/src/package/manifest.rs:869
Method
file
(&self)
crates/libscoop/src/package/manifest.rs:1157
Function
filenamify
(filename: S)
crates/libscoop/src/internal/fs.rs:62
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
crates/libscoop/src/package/mod.rs:447
Method
fmt
(&self, f: &mut fmt::Formatter)
crates/libscoop/src/package/manifest.rs:1070
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/libscoop/src/internal/dag.rs:28
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
crates/scoop_hash/src/lib.rs:20
Method
from
Create a bucket representation from a given local path. # Returns A bucket representation. # Errors This method will return an error if the given
crates/libscoop/src/bucket.rs:46
Method
from
(path: PathBuf)
crates/libscoop/src/cache.rs:13
Method
from
(name: &str, bucket: &str, manifest: Manifest)
crates/libscoop/src/package/mod.rs:86
Method
from
(veced: Vectorized<String>)
crates/libscoop/src/package/manifest.rs:1215
Method
from
(nodes: &Nodes<T>)
crates/libscoop/src/internal/dag.rs:34
Method
from_str
(s: &str)
crates/libscoop/src/config.rs:223
Function
get_content_length
(url: &str, proxy: Option<&str>)
crates/libscoop/src/internal/network.rs:5
Method
homepage
(&self)
crates/libscoop/src/package/manifest.rs:796
Method
installed_bucket
Get the installed bucket of this package. # Returns The installed bucket of this package, if any.
crates/libscoop/src/package/mod.rs:232
Function
is_default_cache_path
(path: P)
crates/libscoop/src/config.rs:556
← previous
next →
201–300 of 375, ranked by callers