MCPcopy Create free account

hub / github.com/bajrangCoder/acodex_server / functions

Functions57 in github.com/bajrangCoder/acodex_server

↓ 9 callersMethodas_raw_fd
(&self)
src/terminal/pty_fallback.rs:45
↓ 4 callersFunctionparse_u16
(value: &serde_json::Value, field_name: &str)
src/utils/mod.rs:17
↓ 4 callersMethodread
(&mut self, buf: &mut [u8])
src/terminal/pty_fallback.rs:59
↓ 2 callersMethodappend
(&self, data: &[u8])
src/terminal/scrollback.rs:34
↓ 2 callersMethodcheck_update
(&self)
src/updates.rs:96
↓ 2 callersMethodcleanup
(&self)
src/terminal/scrollback.rs:63
↓ 2 callersMethodensure_file
(&self)
src/terminal/scrollback.rs:20
↓ 2 callersMethodflush
(&mut self)
src/terminal/pty_fallback.rs:89
↓ 2 callersFunctionget_ip_address
()
src/utils/mod.rs:4
↓ 2 callersMethodtake_writer
(&self)
src/terminal/pty_fallback.rs:150
↓ 2 callersMethodtry_clone
(&self)
src/terminal/pty_fallback.rs:26
↓ 2 callersMethodtry_clone_reader
(&self)
src/terminal/pty_fallback.rs:146
↓ 2 callersMethodwrite
(&mut self, buf: &[u8])
src/terminal/pty_fallback.rs:76
↓ 1 callersFunctioncheck_updates_in_background
()
src/main.rs:62
↓ 1 callersFunctionclose_fds_above_stderr
Close all fds above stderr in the child process. This runs inside `pre_exec` (between `fork()` and `exec()`), so it MUST only use async-signal-safe o
src/terminal/pty_fallback.rs:216
↓ 1 callersFunctionfallback_open_and_spawn
Open a PTY using TIOCGPTPEER and spawn a command. Fallback for when `portable_pty::native_pty_system().openpty()` fails (e.g. SELinux blocks `open("/
src/terminal/pty_fallback.rs:256
↓ 1 callersFunctionfind_next_message
(input: &[u8])
src/lsp.rs:586
↓ 1 callersFunctionget_default_command
()
src/terminal/mod.rs:30
↓ 1 callersFunctionget_port_file_path
Get the port file path for a given server and session
src/lsp.rs:82
↓ 1 callersFunctionhandle_socket
(socket: WebSocket, pid: u32, sessions: Sessions)
src/terminal/handlers.rs:256
↓ 1 callersFunctionnumber_of_digits
(mut n: usize)
src/lsp.rs:558
↓ 1 callersFunctionparse_message
Get JSON message from input using the Content-Length header.
src/lsp.rs:570
↓ 1 callersFunctionprint_update_available
(current_version: &str, new_version: &str)
src/main.rs:53
↓ 1 callersMethodread_tail
(&self, max_bytes: usize)
src/terminal/scrollback.rs:43
↓ 1 callersMethodresize
(&self, size: PtySize)
src/terminal/pty_fallback.rs:112
↓ 1 callersFunctionrun_bridge
Run the bridge between a WebSocket client and an LSP server process
src/lsp.rs:253
↓ 1 callersFunctionset_default_command
(cmd: String)
src/terminal/mod.rs:26
↓ 1 callersFunctionstart_lsp_server
( host: Ipv4Addr, port: Option<u16>, session: Option<String>, allow_any_origin: bool, conf
src/lsp.rs:110
↓ 1 callersFunctionstart_server
(host: Ipv4Addr, port: u16, allow_any_origin: bool)
src/terminal/mod.rs:34
↓ 1 callersMethodupdate
(&self)
src/updates.rs:131
↓ 1 callersFunctionwrite_port_file
Write port to discovery file
src/lsp.rs:103
Functioncreate_terminal
( State(sessions): State<Sessions>, Json(options): Json<TerminalOptions>, )
src/terminal/handlers.rs:40
Methoddecode
(&mut self, src: &mut BytesMut)
src/lsp.rs:509
Methoddrop
(&mut self)
src/lsp.rs:73
Methoddrop
(&mut self)
src/terminal/pty_fallback.rs:51
Methoddrop
(&mut self)
src/terminal/scrollback.rs:71
Methodencode
(&mut self, item: String, dst: &mut BytesMut)
src/lsp.rs:493
Functionexecute_command
(Json(options): Json<ExecuteCommandOption>)
src/terminal/handlers.rs:474
Functionfilter_map_ws_message
( msg: Result<Message, axum::Error>, )
src/lsp.rs:423
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/lsp.rs:452
Methodfmt
(&self, f: &mut std::fmt::Formatter)
src/terminal/pty_fallback.rs:104
Methodfrom
(error: std::io::Error)
src/lsp.rs:474
Methodget_cache
()
src/updates.rs:44
Methodget_cache_path
()
src/updates.rs:75
Functionget_lsp_status
( axum::extract::State(state): axum::extract::State<LspState>, )
src/lsp.rs:222
Methodget_size
(&self)
src/terminal/pty_fallback.rs:126
Functionmain
()
src/main.rs:78
Methodnew
(current_version: &str)
src/updates.rs:37
Methodnew
(pid: u32)
src/terminal/scrollback.rs:12
Methodprocess_group_leader
(&self)
src/terminal/pty_fallback.rs:160
Functionresize_terminal
( State(sessions): State<Sessions>, Path(pid): Path<u32>, Json(options): Json<TerminalOptions>, )
src/terminal/handlers.rs:215
Methodsave_cache
(version: &str)
src/updates.rs:59
Methodsource
(&self)
src/lsp.rs:464
Functionterminal_websocket
( ws: WebSocketUpgrade, Path(pid): Path<u32>, State(sessions): State<Sessions>, )
src/terminal/handlers.rs:247
Functionterminate_terminal
( State(sessions): State<Sessions>, Path(pid): Path<u32>, )
src/terminal/handlers.rs:435
Methodtty_name
(&self)
src/terminal/pty_fallback.rs:171
Functionupgrade_lsp_bridge
( ws: WebSocketUpgrade, axum::extract::State(state): axum::extract::State<LspState>, )
src/lsp.rs:207