Directories
¶
| Path | Synopsis |
|---|---|
|
Package app runs the use cases behind the TUI screens, currently building the diff sessions for a selection.
|
Package app runs the use cases behind the TUI screens, currently building the diff sessions for a selection. |
|
Package config defines drift's configuration types and loading logic.
|
Package config defines drift's configuration types and loading logic. |
|
Package diff compares local and remote files and produces structured diff results.
|
Package diff compares local and remote files and produces structured diff results. |
|
Package fs defines the shared FileEntry type used for both local and remote files.
|
Package fs defines the shared FileEntry type used for both local and remote files. |
|
Package ftp provides an FTP client that implements remote.Client.
|
Package ftp provides an FTP client that implements remote.Client. |
|
Package ftptest provides a real in-process FTP server for tests that need a remote host without external infrastructure.
|
Package ftptest provides a real in-process FTP server for tests that need a remote host without external infrastructure. |
|
Package log provides drift's opt-in file logging.
|
Package log provides drift's opt-in file logging. |
|
Package pathmap resolves local filesystem paths to remote paths and vice versa using the Mapping rules from the project config.
|
Package pathmap resolves local filesystem paths to remote paths and vice versa using the Mapping rules from the project config. |
|
Package progress shares the progress and cancellation of one long-running operation between the goroutine doing the work and whoever displays it.
|
Package progress shares the progress and cancellation of one long-running operation between the goroutine doing the work and whoever displays it. |
|
Package project manages the global registry of drift projects.
|
Package project manages the global registry of drift projects. |
|
Package remote defines the protocol-agnostic interface for remote file operations and provides a factory that returns the right implementation (SFTP or FTP) based on host.Protocol.
|
Package remote defines the protocol-agnostic interface for remote file operations and provides a factory that returns the right implementation (SFTP or FTP) based on host.Protocol. |
|
Package sftp provides an SFTP client that wraps SSH connection + SFTP session.
|
Package sftp provides an SFTP client that wraps SSH connection + SFTP session. |
|
Package ssh provides SSH authentication helpers.
|
Package ssh provides SSH authentication helpers. |
|
Package styles defines all lipgloss colors and styles used across drift's TUI.
|
Package styles defines all lipgloss colors and styles used across drift's TUI. |
|
Package sync decides sync directions and describes comparison scope.
|
Package sync decides sync directions and describes comparison scope. |
|
Package tlstrust verifies FTPS server certificates and represents narrowly scoped exceptions approved by the user.
|
Package tlstrust verifies FTPS server certificates and represents narrowly scoped exceptions approved by the user. |
|
Package tui re-exports styles for convenience within the tui package itself.
|
Package tui re-exports styles for convenience within the tui package itself. |
|
browser
Package browser implements the yazi-like local file browser TUI component.
|
Package browser implements the yazi-like local file browser TUI component. |
|
certtrust
Package certtrust implements the modal used to approve an FTPS certificate exception.
|
Package certtrust implements the modal used to approve an FTPS certificate exception. |
|
dashboard
Package dashboard implements the project dashboard — the optional landing screen that lists registered drift projects and lets the user open one.
|
Package dashboard implements the project dashboard — the optional landing screen that lists registered drift projects and lets the user open one. |
|
diffview
Package diffview implements the file-list + unified-diff screen.
|
Package diffview implements the file-list + unified-diff screen. |
|
hostform
Package hostform implements the create/edit host form screen.
|
Package hostform implements the create/edit host form screen. |
|
hostmanager
Package hostmanager implements the host list / CRUD screen.
|
Package hostmanager implements the host list / CRUD screen. |
|
hostselector
Package hostselector implements the host picker modal shown when the user presses [s].
|
Package hostselector implements the host picker modal shown when the user presses [s]. |
|
loading
Package loading provides the global network activity indicator used by TUI screens.
|
Package loading provides the global network activity indicator used by TUI screens. |
|
mouse
Package mouse holds the mouse helpers shared by the TUI screens.
|
Package mouse holds the mouse helpers shared by the TUI screens. |
|
projectform
Package projectform implements the create/edit project form screen.
|
Package projectform implements the create/edit project form screen. |
|
projectselector
Package projectselector implements the project switcher modal shown when the user presses [P].
|
Package projectselector implements the project switcher modal shown when the user presses [P]. |
|
statusbar
Package statusbar renders the persistent one-line status bar at the bottom.
|
Package statusbar renders the persistent one-line status bar at the bottom. |
|
textfield
Package textfield provides a single-line editable text input widget shared by drift's TUI forms (host form, project form).
|
Package textfield provides a single-line editable text input widget shared by drift's TUI forms (host form, project form). |
Click to show internal directories.
Click to hide internal directories.