MCPcopy Create free account

hub / github.com/Mydayyy/pbcli / functions

Functions56 in github.com/Mydayyy/pbcli

↓ 10 callersMethodget_cipher
(&self)
src/privatebin.rs:55
↓ 7 callersMethodget_url
(&self)
src/opts.rs:143
↓ 5 callersMethoddecrypt_with_password
( &self, bs58_key: &str, password: &str, )
src/privatebin.rs:222
↓ 4 callersMethodpreconfigured_privatebin_request_builder
( &self, method: &str, url: Url, json_request: bool, )
src/api.rs:105
↓ 3 callersFunctioncheck_filesize
(len: u64, opts_size_limt: Option<u64>)
src/util.rs:5
↓ 3 callersMethoddecrypt_comments_with_password
Returns a mapping: comment.id -> decrypted_comment
src/privatebin.rs:237
↓ 3 callersMethodget_adata_str
(&self)
src/privatebin.rs:58
↓ 3 callersMethodvec_cipher_iv
get vector of bytes representation
src/privatebin.rs:139
↓ 3 callersMethodvec_kdf_salt
get vector of bytes representation
src/privatebin.rs:143
↓ 2 callersMethodbuild_client
(&self)
src/api.rs:34
↓ 2 callersMethoddecrypt
(&self, bs58_key: &str)
src/privatebin.rs:218
↓ 2 callersFunctiondecrypt_with_password
Decrypt decryptable, then attempt deserialize to requested type (DecryptedT)
src/crypto.rs:23
↓ 2 callersFunctionderive_key
(iterations: std::num::NonZeroU32, salt: &[u8], key: &[u8], out: &mut [u8])
src/crypto.rs:18
↓ 2 callersFunctionencrypt
( content: &str, key: &[u8], password: &str, salt: &[u8], nonce: &[u8], iterations: u3
src/crypto.rs:55
↓ 2 callersFunctionget_cli_args
()
src/config.rs:89
↓ 2 callersFunctionget_stdin
()
src/main.rs:15
↓ 2 callersFunctionhandle_get
(opts: &Opts)
src/main.rs:31
↓ 2 callersFunctionhas_flag
(flag_name: &str)
src/config.rs:93
↓ 2 callersFunctionis_valid_config
(p: &Path)
src/config.rs:6
↓ 2 callersMethodto_paste_url
Return full paste url, i.e (base + ?id + #bs58key)
src/privatebin.rs:193
↓ 1 callersMethodcomments_adjacency_map
Returns a mapping: comment.id -> [children comment.id]
src/privatebin.rs:253
↓ 1 callersMethodcomments_formatted_json_trees
Returns formatted json trees (forest) of decrypted comments
src/privatebin.rs:266
↓ 1 callersFunctioncreate_dataurl
(path: &std::ffi::OsStr, data: String)
src/main.rs:24
↓ 1 callersFunctiondecrypt_aes_256_gcm
( decryptable: &impl Decryptable, derived_key: &[u8], compression_type: &CompressionType, )
src/crypto.rs:87
↓ 1 callersMethoddecrypt_comments
Returns a mapping: comment.id -> decrypted_comment
src/privatebin.rs:232
↓ 1 callersMethodenabled
(&self, _metadata: &Metadata)
src/logger.rs:13
↓ 1 callersFunctionget_config_args
(skip_default_locations: bool)
src/config.rs:44
↓ 1 callersFunctionget_config_path
(skip_default_locations: bool)
src/config.rs:11
↓ 1 callersMethodget_ct
(&self)
src/privatebin.rs:52
↓ 1 callersMethodget_oidc_access_token
(&self)
src/api.rs:62
↓ 1 callersMethodget_paste
(&self, paste_id: &str)
src/api.rs:159
↓ 1 callersFunctionhandle_comment
(opts: &Opts)
src/main.rs:152
↓ 1 callersFunctionhandle_post
(opts: &Opts)
src/main.rs:102
↓ 1 callersFunctionhandle_scrape
(opts: &Opts)
src/main.rs:174
↓ 1 callersFunctionhas_debug_flag
()
src/config.rs:96
↓ 1 callersFunctionhas_skip_default_config_flag
()
src/config.rs:100
↓ 1 callersFunctionpem_certs_from_bundle
(pem: &[u8])
src/api.rs:128
↓ 1 callersMethodpost_comment
( &self, content: &DecryptedComment, paste_id: &str, parent_id: &str,
src/api.rs:226
↓ 1 callersMethodpost_paste
( &self, content: &DecryptedPaste, password: &str, opts: &Opts, )
src/api.rs:174
↓ 1 callersMethodscrape_expiries
(&self)
src/api.rs:273
↓ 1 callersMethodto_delete_url
Return url that can be used to delete paste
src/privatebin.rs:200
Methodbase
(&self)
src/api.rs:291
Methoddefault
()
src/privatebin.rs:117
Methodflush
(&self)
src/logger.rs:23
Methodfmt
(&self, f: &mut Formatter<'_>)
src/error.rs:46
Methodformat_comments_below_id
( id: &str, decrypted_comments: &DecryptedCommentsMap, comment_adjacency:
src/privatebin.rs:271
Methodfrom
(err: std::io::Error)
src/error.rs:86
Methodfrom_custom
(obj: Self)
src/uniffi_custom_types.rs:17
Methodinit
()
src/logger.rs:7
Methodinto_custom
(val: Self::Builtin)
src/uniffi_custom_types.rs:13
Methodis_success
(&self)
src/privatebin.rs:211
Methodlog
(&self, record: &Record)
src/logger.rs:17
Functionmain
()
src/main.rs:183
Methodnew
(mut url: Url, opts: Opts)
src/api.rs:23
Methodserialize
(&self, serializer: S)
src/privatebin.rs:314
Methodto_json_string
(&self)
src/privatebin.rs:208