6-- name: GetFileByPathAndSession :one
9WHERE path = ? AND session_id = ?
10ORDER BY version DESC, created_at DESC
13-- name: ListFilesBySession :many
17ORDER BY version ASC, created_at ASC;
19-- name: ListFilesByPath :many
23ORDER BY version DESC, created_at DESC;
25-- name: CreateFile :one
35 ?, ?, ?, ?, ?, strftime('%s', 'now'), strftime('%s', 'now')
39-- name: DeleteFile :exec
43-- name: DeleteSessionFiles :exec
47-- name: ListLatestSessionFiles :many
51 SELECT path, MAX(version) as max_version, MAX(created_at) as max_created_at
54) latest ON f.path = latest.path AND f.version = latest.max_version AND f.created_at = latest.max_created_at
58-- name: ListNewFiles :many
62ORDER BY version DESC, created_at DESC;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list