MCPcopy Create free account

hub / github.com/Kryod/rustacean / functions

Functions255 in github.com/Kryod/rustacean

↓ 24 callersFunctiontest_lang
(code: &str, lang: &str, ret_code: i32, ignore_compil_stdout: bool, ret_str: &str)
src/test.rs:4
↓ 10 callersMethodget
(discord_user_id: UserId, db: &DbPoolType)
src/models.rs:50
↓ 8 callersMethodget_lang_name
(&self)
src/commands/exec/c.rs:13
↓ 6 callersFunctionappend_to_msg
(ctx: &Option<&mut Context>, msg: &mut Option<&mut Message>, line: &str)
src/commands/exec/mod.rs:139
↓ 6 callersMethodis_over
(&self)
src/models.rs:156
↓ 5 callersFunctionformat_code_output
(mut text: String, max_length: usize)
src/commands/exec/mod.rs:556
↓ 5 callersMethodget_lang_name
(&self)
src/models.rs:231
↓ 5 callersMethodis_language_available
(&self, lang: &Box<dyn Language + Sync + Send>)
src/lang_manager.rs:117
↓ 4 callersMethodget_languages
(&self)
src/lang_manager.rs:147
↓ 4 callersFunctionpre_process_output
(mut output: String)
src/commands/exec/mod.rs:103
↓ 4 callersFunctionset_game_presence
(ctx: &Context, game_name: &str)
src/main.rs:496
↓ 3 callersFunctionget_command_prefix
(ctx: &Context)
src/main.rs:475
↓ 3 callersFunctioninit_settings
()
src/main.rs:312
↓ 3 callersMethodis_banned_for_guild
(&self, msg_guild: Option<GuildId>)
src/models.rs:216
↓ 2 callersMethodcheck_available_languages
(&mut self)
src/lang_manager.rs:201
↓ 2 callersFunctiondo_request
(endpoint: &str, api_key: &str, data: Option<HashMap<&str, String>>)
src/dbl/mod.rs:50
↓ 2 callersMethodget
(&self, lang: &str)
src/lang_manager.rs:106
↓ 2 callersMethodget_class_name
(&self, src_path: &PathBuf)
src/commands/exec/java.rs:9
↓ 2 callersMethodget_guild
(&self)
src/models.rs:139
↓ 2 callersMethodget_id
(&self)
src/models.rs:42
↓ 2 callersFunctionget_lang
(lang_manager: &LangManager, lang_code: &str)
src/commands/exec/mod.rs:114
↓ 2 callersMethodget_languages_list
(&self)
src/lang_manager.rs:134
↓ 2 callersFunctionget_snippets_directory
()
src/commands/exec/mod.rs:585
↓ 2 callersFunctionrun_code
( settings: &Settings, mut code: String, lang: BoxedLang, author: UserId, ctx: Option<&mut
src/commands/exec/mod.rs:148
↓ 2 callersFunctionrun_command
(cmd: Expression, timeout_seconds: u64)
src/commands/exec/mod.rs:620
↓ 2 callersFunctionupdate
(migration_dir: &str, url: &str)
src/tools/update_db.rs:3
↓ 2 callersFunctionupdate_db
Runs database update scripts if necessary. Use it with `cargo run update-db`. This command should be used after pulling from the repository.
src/tools/update_db.rs:21
↓ 1 callersMethodadd_ready
(&mut self)
src/tools/print_guilds.rs:33
↓ 1 callersMethodall_ready
(&self)
src/tools/print_guilds.rs:37
↓ 1 callersMethodban
(&self, db: &DbPoolType, ban_end: Option<NaiveDateTime>, ban_on_guild: Option<GuildId>)
src/models.rs:74
↓ 1 callersFunctionbuild_images
Build all images for the referenced languages. Use it with `cargo run build-images`. This command should be used after pulling from the repository.
src/tools/build_images.rs:8
↓ 1 callersFunctioncargo_test_thread
(settings: Settings)
src/main.rs:141
↓ 1 callersMethodcheck_languages_versions
(&mut self)
src/lang_manager.rs:151
↓ 1 callersMethodenabled
(&self, metadata: &Metadata)
src/file_logger.rs:23
↓ 1 callersMethodget_class_name
(&self, src_path: &PathBuf)
src/commands/exec/kotlin.rs:9
↓ 1 callersMethodget_compiler
(&self)
src/commands/exec/vb.rs:9
↓ 1 callersMethodget_compiler_command
(&self, src_path: &PathBuf, exe_path: &PathBuf)
src/commands/exec/c.rs:33
↓ 1 callersMethodget_discord_id
(&self)
src/models.rs:46
↓ 1 callersMethodget_execution_command
(&self, path: &PathBuf)
src/commands/exec/vb.rs:64
↓ 1 callersFunctionget_guilds
(ctx: &Context)
src/main.rs:294
↓ 1 callersMethodget_image_name
(&self)
src/commands/exec/c.rs:9
↓ 1 callersMethodget_language_version
(&self, lang: &Box<dyn Language + Sync + Send>)
src/lang_manager.rs:124
↓ 1 callersMethodget_logo_url
(&self)
src/commands/exec/language.rs:21
↓ 1 callersMethodget_out_path
(&self, src_path: &PathBuf)
src/commands/exec/java.rs:57
↓ 1 callersFunctionget_random_filename
(ext: &str)
src/commands/exec/mod.rs:568
↓ 1 callersFunctionget_snippets_directory_for_user
(user: UserId)
src/commands/exec/mod.rs:596
↓ 1 callersMethodget_snippets_executed
(&self)
src/models.rs:235
↓ 1 callersMethodget_source_file_ext
(&self)
src/commands/exec/c.rs:17
↓ 1 callersFunctionget_test_settings
()
src/test.rs:52
↓ 1 callersMethodget_user
(&self, db: &DbPoolType)
src/models.rs:130
↓ 1 callersMethodincrement_snippets_count
(&mut self, db: &DbPoolType)
src/models.rs:262
↓ 1 callersFunctioninit_logging
(settings: &Settings)
src/main.rs:320
↓ 1 callersMethodis_global
(&self)
src/models.rs:221
↓ 1 callersMethodis_permanent
(&self)
src/models.rs:152
↓ 1 callersMethodlevel
(&self)
src/file_logger.rs:63
↓ 1 callersFunctionparsing
(args: Vec<String>)
src/commands/logs.rs:26
↓ 1 callersFunctionpost_stats
(bot_id: UserId, api_key: &str, server_count: usize)
src/dbl/mod.rs:37
↓ 1 callersFunctionpre_process_code
(mut code: String)
src/commands/exec/mod.rs:96
↓ 1 callersMethodpre_process_code
(&self, code: &str, _src_path: &PathBuf)
src/commands/exec/c.rs:21
↓ 1 callersFunctionpresence_status_thread
(user_id: UserId, ctx: Arc<Mutex<Context>>)
src/main.rs:106
↓ 1 callersFunctionprint_guilds
()
src/tools/print_guilds.rs:63
↓ 1 callersFunctionsave_code
(code: &str, author: UserId, ext: &str)
src/commands/exec/mod.rs:606
↓ 1 callersFunctionset_game_presence_exec
(ctx: &Context)
src/main.rs:491
↓ 1 callersFunctionset_game_presence_help
(ctx: &Context)
src/main.rs:481
↓ 1 callersFunctionset_game_presence_languages
(ctx: &Context)
src/main.rs:486
↓ 1 callersMethodset_language_available
(&mut self, lang: String, availability: bool)
src/lang_manager.rs:248
↓ 1 callersMethodset_total
(&mut self, total: usize)
src/tools/print_guilds.rs:28
↓ 1 callersFunctionsnippets_cleanup_thread
()
src/main.rs:256
↓ 1 callersFunctiontools
()
src/tools/mod.rs:7
↓ 1 callersMethodunban
(&self, msg_guild: GuildId, lift_globally: bool, db: &DbPoolType)
src/models.rs:102
Functionadmin_check
(ctx: &mut Context, msg: &Message, _: &mut Args, _: &CommandOptions)
src/main.rs:356
Methodas_log
(self: Box<Self>)
src/file_logger.rs:71
Functionban
(ctx: &mut Context, msg: &Message, mut args: Args)
src/commands/ban.rs:21
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/rust.rs:41
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/kotlin.rs:70
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/asmx64.rs:42
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/lua.rs:35
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/c.rs:41
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/java.rs:69
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/prolog.rs:26
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/shell.rs:25
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/haskell.rs:29
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/python.rs:35
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/vb.rs:72
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/cpp.rs:44
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/go.rs:25
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/ruby.rs:31
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/asmx86.rs:42
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/ocaml.rs:25
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/csharp.rs:79
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/php.rs:35
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/typescript.rs:33
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/javascript.rs:35
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/pony.rs:57
Methodcheck_compiler_or_interpreter
(&self)
src/commands/exec/julia.rs:25
Methodcleanup_outdated_bans
(db: &DbPoolType)
src/models.rs:172
Methodconfig
(&self)
src/file_logger.rs:67
Methoddefault
()
src/lang_manager.rs:20
Functionexec
(ctx: &mut Context, msg: &Message)
src/commands/exec/mod.rs:329
Methodflush
(&self)
src/file_logger.rs:59
next →1–100 of 255, ranked by callers