MCPcopy Index your code

hub / github.com/chipsenkbeil/distant / functions

Functions2,333 in github.com/chipsenkbeil/distant

↓ 139 callersMethodpath
Represents the canonicalized path used by watchers
distant-local/src/api/state/watcher/path.rs:107
↓ 137 callersFunctionchannel
Creates a new channel for when the exit status will be ready
distant-local/src/api/process/wait.rs:53
↓ 132 callersMethodmap
Maps the results of each mailbox value into a new type `U`
distant-net/src/client/channel/mailbox.rs:293
↓ 121 callersMethodpath
Returns the path to the socket.
distant-net/src/server/ref/unix.rs:23
↓ 118 callersMethodinsert
Stores a new `key` and `data` by a given `id`, returning the old data associated with the id if there was one already registered.
distant-net/src/common/keychain.rs:77
↓ 111 callersMethodwrite_str
(&mut self, data: &str)
distant-core/src/client/lsp.rs:191
↓ 105 callersMethodclone
(&self)
distant-net/src/server/reply.rs:39
↓ 99 callersMethodwrite_frame_for
Serializes `value` into bytes and passes them to [`write_frame`]. [`write_frame`]: FramedTransport::write_frame
distant-net/src/common/transport/framed.rs:434
↓ 71 callersMethodinto_iter
(self)
distant-net/src/common/port.rs:76
↓ 71 callersMethodto_vec
Serializes the value into bytes.
distant-net/src/common/packet/value.rs:22
↓ 70 callersMethodrecv
Waits until the exit status is resolved; can be called repeatedly after being resolved to immediately return the exit status again
distant-local/src/api/process/wait.rs:115
↓ 67 callersFunctionsetup
()
distant-local/src/api.rs:744
↓ 63 callersMethodto_str
Returns the UTF-8 str reference to the data, if is valid UTF-8
distant-protocol/src/common/search.rs:367
↓ 57 callersMethodsend
Sends a request and waits for a response, failing if unable to send a request or if the session's receiving line to the remote server has already been
distant-net/src/client/channel.rs:106
↓ 55 callersMethodwrite_frame
Invokes [`try_write_frame`] followed by a continuous calls to [`try_flush`] until a frame is successfully written, an error is encountered that is not
distant-net/src/common/transport/framed.rs:405
↓ 54 callersFunctionmissing
(label: &str)
src/cli/commands/manager/handlers.rs:25
↓ 53 callersMethodmerge
Updates options based on configuration values.
src/options.rs:94
↓ 53 callersMethodwrite_and_read_json
Writes json to the api over stdin and then waits for json to be received over stdout, failing if either operation exceeds timeout if set or if the out
tests/common/fixtures/api.rs:85
↓ 49 callersMethodstdout
(&self)
distant-local/src/api/process/pty.rs:220
↓ 49 callersFunctionvalidate_authentication
(proc: &mut ApiProcess)
tests/common/fixtures.rs:348
↓ 48 callersMethodstderr
(&self)
distant-local/src/api/process/pty.rs:232
↓ 45 callersFunctionfind_msgpack_byte_len
Determines the length of the next object based on its marker. From the marker, some objects need to be traversed (e.g. map) in order to fully understa
distant-net/src/common/packet.rs:80
↓ 45 callersMethodwrite_all
(&self, buf: &[u8])
distant-net/src/common/transport.rs:240
↓ 44 callersMethodsend
Send exit status to receiving-side of wait
distant-local/src/api/process/wait.rs:70
↓ 41 callersMethodas_ref
(&self)
distant-core/src/client/lsp/msg.rs:358
↓ 41 callersMethodcontains
Creates a new instance with `Contains` variant
distant-protocol/src/common/search.rs:105
↓ 38 callersMethodis_empty
Returns true if no details are contained within.
distant-protocol/src/common/change.rs:60
↓ 38 callersMethodnew_assert_cmd
Produces a new test command that configures some distant command configured with an environment that can talk to a remote distant server
tests/common/fixtures.rs:246
↓ 36 callersFunctionparse
Parses `s` into a [`Destination`]
distant-net/src/common/destination/parser.rs:7
↓ 33 callersMethodlen
(&self)
distant-net/src/common/key.rs:75
↓ 33 callersMethodread_frame_as
Reads a frame using [`read_frame`] and then deserializes the bytes into `D`. [`read_frame`]: FramedTransport::read_frame
distant-net/src/common/transport/framed.rs:341
↓ 32 callersMethodas_mut
(&mut self)
distant-net/src/common/destination.rs:63
↓ 31 callersMethodwrite
Writes the frame to the end of `dst`, including the header representing the length of the item as part of the written bytes.
distant-net/src/common/transport/framed/frame.rs:69
↓ 29 callersMethodclone_channel
Clones the underlying channel for requests and returns the cloned instance.
distant-net/src/client.rs:98
↓ 28 callersMethodread
Reads a complete LSP message over stdout
distant-core/src/client/lsp.rs:264
↓ 27 callersMethodnext
Returns the next change detected by the watcher, or none if the watcher has concluded
distant-core/src/client/watcher.rs:163
↓ 26 callersMethodlen
Returns the len (in bytes) of the item wrapped by the frame.
distant-net/src/common/transport/framed/frame.rs:40
↓ 26 callersMethodread_exact
(&self, buf: &mut [u8])
distant-net/src/common/transport.rs:174
↓ 24 callersFunctionunsupported
(label: &str)
distant-core/src/api.rs:42
↓ 23 callersMethodas_ref
Returns a reference to this [`Frame`]'s item as bytes.
distant-net/src/common/transport/framed/frame.rs:174
↓ 23 callersMethodconnect
( &self, destination: &Destination, options: &Map, authenticator: &mut dyn Aut
src/cli/commands/manager/handlers.rs:309
↓ 22 callersMethodstart
Starts a new search using the provided query
distant-local/src/api/state/search.rs:81
↓ 21 callersMethodrecv
(&mut self)
distant-net/src/client/channel/mailbox.rs:181
↓ 20 callersFunctionclient
(sshd: Sshd)
distant-ssh2/tests/sshd/mod.rs:627
↓ 20 callersMethodremove
Removes a key and its data by a given `id`, returning the data if the `id` exists.
distant-net/src/common/keychain.rs:101
↓ 20 callersMethodsynchronize
Places the transport in **synchronize mode** where it communicates with the other side how many frames have been sent and received. From there, any fr
distant-net/src/common/transport/framed.rs:461
↓ 19 callersMethodfire
Sends a request without waiting for a response; this method is able to be used even if the session's receiving line to the remote server has been seve
distant-net/src/client/channel.rs:134
↓ 19 callersMethodinto_channel
Convert into underlying channel.
distant-net/src/client.rs:93
↓ 19 callersFunctiontimeout
(duration: Duration, f: F)
distant-core/src/client/lsp.rs:482
↓ 19 callersMethodtry_recv
(&mut self)
distant-net/src/client/channel/mailbox.rs:173
↓ 18 callersMethodas_ref
(&self)
distant-net/src/common/destination.rs:57
↓ 18 callersMethodclient_handshake
Perform the client-side of a handshake. See [`handshake`] for more details. [`handshake`]: FramedTransport::handshake
distant-net/src/common/transport/framed.rs:590
↓ 18 callersFunctionget_matches
(data: Response)
distant-local/src/api/state/search.rs:841
↓ 18 callersMethodincrement_sent_cnt
Increments (by 1) the total sent frames. ### Note Like all other modifications, this will do nothing if the backup is frozen.
distant-net/src/common/transport/framed/backup.rs:117
↓ 18 callersMethodinto_inner
Consumes this transport, returning the inner value that it wraps.
distant-net/src/common/transport/framed.rs:118
↓ 18 callersMethodis_empty
(&self)
distant-net/src/common/packet/header.rs:44
↓ 18 callersFunctionmake_lsp_msg
(value: T)
distant-core/src/client/lsp.rs:474
↓ 18 callersFunctionread_cache
(path: &Path)
src/cli/commands/client.rs:49
↓ 18 callersMethodsend
(&self, data: Self::Data)
distant-net/src/server/reply.rs:22
↓ 17 callersMethodinto_client
Consumes this channel, returning a typed client wrapping the transport. ### Note This does not perform any additional handshakes or authentication.
distant-net/src/manager/client/channel.rs:32
↓ 17 callersMethodopen_raw_channel
Establishes a channel with the server represented by the `connection_id`, returning a [`RawChannel`] acting as the connection. ### Note Multiple cal
distant-net/src/manager/client.rs:226
↓ 17 callersMethodpush_frame
Pushes a new frame to the end of the internal queue. ### Note Like all other modifications, this will do nothing if the backup is frozen.
distant-net/src/common/transport/framed/backup.rs:160
↓ 16 callersMethodclone
Clones a new copy of the handler. ### Note This is a hack so we can use this handler elsewhere. Because this handler only has a new method that crea
src/cli/common/client.rs:267
↓ 16 callersMethodextend
Extends the [`Frame`]'s item with the provided bytes, allocating an owned [`Vec`] underneath if this frame had borrowed bytes as an item.
distant-net/src/common/transport/framed/frame.rs:182
↓ 16 callersMethodmail
Sends a request and returns a mailbox that can receive one or more responses, failing if unable to send a request or if the session's receiving line t
distant-net/src/client/channel.rs:83
↓ 16 callersMethodread_json_from_stdout
Reads a line from stdout and parses it as json, failing if unable to parse as json or the timeout is reached if set, returning none if the stdout chan
tests/common/fixtures/api.rs:154
↓ 16 callersMethodserver_handshake
Perform the server-side of a handshake. See [`handshake`] for more details. [`handshake`]: FramedTransport::handshake
distant-net/src/common/transport/framed.rs:608
↓ 16 callersFunctionuse_or_lookup_connection_id
( cache: &mut Cache, connection: Option<ConnectionId>, client: &mut ManagerClient, )
src/cli/commands/client.rs:1372
↓ 16 callersMethodusing_prompt_auth_handler
(self)
src/cli/common/client.rs:38
↓ 15 callersFunctionmake_path
(path: &str)
distant-local/src/api/state/search.rs:822
↓ 15 callersMethodread_to_end
(&self, buf: &mut Vec<u8>)
distant-net/src/common/transport.rs:205
↓ 15 callersMethodsend
(&self, data: Self::Data)
distant-core/src/api/reply.rs:20
↓ 15 callersFunctionspawn_lsp_process
Configures an lsp process with a means to send & receive data from outside
distant-core/src/client/lsp.rs:446
↓ 14 callersMethodas_item
Returns a reference to the bytes of the frame's item.
distant-net/src/common/transport/framed/frame.rs:56
↓ 14 callersFunctionmake_session
()
distant-core/src/client/process.rs:601
↓ 14 callersMethodsend
Sends the untyped request to the server on the other side of the channel.
distant-net/src/manager/server/connection.rs:38
↓ 14 callersMethodspawn
Spawns the specified process on the remote machine using the given `channel` and `cmd`
distant-core/src/client/process.rs:81
↓ 14 callersFunctiontest_synchronize_stats
( transport: &mut FramedTransport<InmemoryTransport>, sent_cnt: u64, received_cnt: u64
distant-net/src/common/transport/framed.rs:1390
↓ 14 callersMethodto_untyped_request
Attempts to convert a typed request to an untyped request
distant-net/src/common/packet/request.rs:52
↓ 13 callersMethodauth_handler
Configure the authentication handler to use when connecting to a server.
distant-net/src/client/builder.rs:54
↓ 13 callersMethodfilter
Returns true if path passes the filter
distant-local/src/api/state/search.rs:640
↓ 13 callersMethodid
Returns the id of the running process
distant-core/src/client/process.rs:229
↓ 13 callersMethodinto_owned
Convert into an owned version
distant-net/src/common/packet/request.rs:155
↓ 13 callersMethodmetadata
( &self, ctx: DistantCtx, path: PathBuf, canonicalize: bool, resolve_f
distant-ssh2/src/api.rs:558
↓ 13 callersFunctionparse_username_password
(s: &str)
distant-net/src/common/destination/parser.rs:70
↓ 13 callersFunctionread_header_bytes
Reads the header bytes from msgpack input, including the marker and len bytes. If succeeds, returns (header, remaining). If fails, returns existing b
distant-net/src/common/packet.rs:20
↓ 13 callersFunctionsetup_dir
(files: Vec<(&str, &str)>)
distant-local/src/api/state/search.rs:831
↓ 12 callersMethodauthenticate
(&mut self, mut handler: impl AuthHandler + Send)
distant-net/src/authentication.rs:67
↓ 12 callersMethodflush
Sends all pending msgs queued up and clears the queue Additionally, takes `hold` to indicate whether or not new msgs after the flush should continue
distant-net/src/server/reply.rs:133
↓ 12 callersMethodhandler
(self, handler: Weak<U>)
distant-net/src/server/connection.rs:90
↓ 12 callersMethodkeychain
(self, keychain: ServerKeychain)
distant-net/src/server/connection.rs:120
↓ 12 callersMethodorigin_id
Returns the id of the request that spawned this process
distant-core/src/client/process.rs:234
↓ 12 callersFunctionsetup
Create a new server and authenticator
distant-net/src/manager/server.rs:409
↓ 12 callersFunctionsetup
()
distant-net/src/manager/client.rs:307
↓ 12 callersMethodshutdown_timer
( self, shutdown_timer: Weak<RwLock<ShutdownTimer>>, )
distant-net/src/server/connection.rs:165
↓ 12 callersMethodstart
Consumes the server, starting a task to process connections from the `listener` and returning a [`ServerRef`] that can be used to control the active s
distant-net/src/server.rs:165
↓ 12 callersMethodstate
(self, state: Weak<ServerState<U>>)
distant-net/src/server/connection.rs:105
↓ 12 callersFunctiontest_config
()
distant-net/src/manager/server.rs:392
↓ 12 callersMethodtransport
(self, transport: U)
distant-net/src/server/connection.rs:135
↓ 11 callersFunctioncanonicalize
Performs canonicalization of the given path using SFTP
distant-ssh2/src/utils.rs:249
next →1–100 of 2,333, ranked by callers