Expand description
The command-line tool works in the following order:
RemoteMounts::load
is called to load the contents of/etc/mtab
into an internal struct.RemoteMounts::into_current_dir
is called to convert the above into aLocation
.Location::into_env_args
is called to convert the above intoProgramArgs
.ProgramArgs::into_command
is called to convert the above intostd::process::Command
.
For rpwd
, only steps 1 and 2 are run, and the resulting Location
is printed.
Structs§
- Builder for the command-line arguments for a program.
- Represents a location on a remote host.
- Encapsulates data on which directories have been remotely mounted.
Enums§
- Encapsulates a directory in which a program can be executed.