Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mydayyy/pbcli
/ functions
Functions
56 in github.com/Mydayyy/pbcli
⨍
Functions
56
◇
Types & classes
16
↓ 10 callers
Method
get_cipher
(&self)
src/privatebin.rs:55
↓ 7 callers
Method
get_url
(&self)
src/opts.rs:143
↓ 5 callers
Method
decrypt_with_password
( &self, bs58_key: &str, password: &str, )
src/privatebin.rs:222
↓ 4 callers
Method
preconfigured_privatebin_request_builder
( &self, method: &str, url: Url, json_request: bool, )
src/api.rs:105
↓ 3 callers
Function
check_filesize
(len: u64, opts_size_limt: Option<u64>)
src/util.rs:5
↓ 3 callers
Method
decrypt_comments_with_password
Returns a mapping: comment.id -> decrypted_comment
src/privatebin.rs:237
↓ 3 callers
Method
get_adata_str
(&self)
src/privatebin.rs:58
↓ 3 callers
Method
vec_cipher_iv
get vector of bytes representation
src/privatebin.rs:139
↓ 3 callers
Method
vec_kdf_salt
get vector of bytes representation
src/privatebin.rs:143
↓ 2 callers
Method
build_client
(&self)
src/api.rs:34
↓ 2 callers
Method
decrypt
(&self, bs58_key: &str)
src/privatebin.rs:218
↓ 2 callers
Function
decrypt_with_password
Decrypt decryptable, then attempt deserialize to requested type (DecryptedT)
src/crypto.rs:23
↓ 2 callers
Function
derive_key
(iterations: std::num::NonZeroU32, salt: &[u8], key: &[u8], out: &mut [u8])
src/crypto.rs:18
↓ 2 callers
Function
encrypt
( content: &str, key: &[u8], password: &str, salt: &[u8], nonce: &[u8], iterations: u3
src/crypto.rs:55
↓ 2 callers
Function
get_cli_args
()
src/config.rs:89
↓ 2 callers
Function
get_stdin
()
src/main.rs:15
↓ 2 callers
Function
handle_get
(opts: &Opts)
src/main.rs:31
↓ 2 callers
Function
has_flag
(flag_name: &str)
src/config.rs:93
↓ 2 callers
Function
is_valid_config
(p: &Path)
src/config.rs:6
↓ 2 callers
Method
to_paste_url
Return full paste url, i.e (base + ?id + #bs58key)
src/privatebin.rs:193
↓ 1 callers
Method
comments_adjacency_map
Returns a mapping: comment.id -> [children comment.id]
src/privatebin.rs:253
↓ 1 callers
Method
comments_formatted_json_trees
Returns formatted json trees (forest) of decrypted comments
src/privatebin.rs:266
↓ 1 callers
Function
create_dataurl
(path: &std::ffi::OsStr, data: String)
src/main.rs:24
↓ 1 callers
Function
decrypt_aes_256_gcm
( decryptable: &impl Decryptable, derived_key: &[u8], compression_type: &CompressionType, )
src/crypto.rs:87
↓ 1 callers
Method
decrypt_comments
Returns a mapping: comment.id -> decrypted_comment
src/privatebin.rs:232
↓ 1 callers
Method
enabled
(&self, _metadata: &Metadata)
src/logger.rs:13
↓ 1 callers
Function
get_config_args
(skip_default_locations: bool)
src/config.rs:44
↓ 1 callers
Function
get_config_path
(skip_default_locations: bool)
src/config.rs:11
↓ 1 callers
Method
get_ct
(&self)
src/privatebin.rs:52
↓ 1 callers
Method
get_oidc_access_token
(&self)
src/api.rs:62
↓ 1 callers
Method
get_paste
(&self, paste_id: &str)
src/api.rs:159
↓ 1 callers
Function
handle_comment
(opts: &Opts)
src/main.rs:152
↓ 1 callers
Function
handle_post
(opts: &Opts)
src/main.rs:102
↓ 1 callers
Function
handle_scrape
(opts: &Opts)
src/main.rs:174
↓ 1 callers
Function
has_debug_flag
()
src/config.rs:96
↓ 1 callers
Function
has_skip_default_config_flag
()
src/config.rs:100
↓ 1 callers
Function
pem_certs_from_bundle
(pem: &[u8])
src/api.rs:128
↓ 1 callers
Method
post_comment
( &self, content: &DecryptedComment, paste_id: &str, parent_id: &str,
src/api.rs:226
↓ 1 callers
Method
post_paste
( &self, content: &DecryptedPaste, password: &str, opts: &Opts, )
src/api.rs:174
↓ 1 callers
Method
scrape_expiries
(&self)
src/api.rs:273
↓ 1 callers
Method
to_delete_url
Return url that can be used to delete paste
src/privatebin.rs:200
Method
base
(&self)
src/api.rs:291
Method
default
()
src/privatebin.rs:117
Method
flush
(&self)
src/logger.rs:23
Method
fmt
(&self, f: &mut Formatter<'_>)
src/error.rs:46
Method
format_comments_below_id
( id: &str, decrypted_comments: &DecryptedCommentsMap, comment_adjacency:
src/privatebin.rs:271
Method
from
(err: std::io::Error)
src/error.rs:86
Method
from_custom
(obj: Self)
src/uniffi_custom_types.rs:17
Method
init
()
src/logger.rs:7
Method
into_custom
(val: Self::Builtin)
src/uniffi_custom_types.rs:13
Method
is_success
(&self)
src/privatebin.rs:211
Method
log
(&self, record: &Record)
src/logger.rs:17
Function
main
()
src/main.rs:183
Method
new
(mut url: Url, opts: Opts)
src/api.rs:23
Method
serialize
(&self, serializer: S)
src/privatebin.rs:314
Method
to_json_string
(&self)
src/privatebin.rs:208