v0.1.0 786906f

callbacks.go RawHistoryFolder

1// Copyright 2011 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5//go:build darwin
6// +build darwin
7
8package fakecgo
9
10import _ "unsafe"
11
12// TODO: decide if we need _runtime_cgo_panic_internal
13
14//go:linkname x_cgo_init_trampoline x_cgo_init_trampoline
15//go:linkname _cgo_init _cgo_init
16var x_cgo_init_trampoline byte
17var _cgo_init = &x_cgo_init_trampoline
18
19// Creates a new system thread without updating any Go state.
20//
21// This method is invoked during shared library loading to create a new OS
22// thread to perform the runtime initialization. This method is similar to
23// _cgo_sys_thread_start except that it doesn't update any Go state.
24
25//go:linkname x_cgo_thread_start_trampoline x_cgo_thread_start_trampoline
26//go:linkname _cgo_thread_start _cgo_thread_start
27var x_cgo_thread_start_trampoline byte
28var _cgo_thread_start = &x_cgo_thread_start_trampoline
29
30// Notifies that the runtime has been initialized.
31//
32// We currently block at every CGO entry point (via _cgo_wait_runtime_init_done)
33// to ensure that the runtime has been initialized before the CGO call is
34// executed. This is necessary for shared libraries where we kickoff runtime
35// initialization in a separate thread and return without waiting for this
36// thread to complete the init.
37
38//go:linkname x_cgo_notify_runtime_init_done_trampoline x_cgo_notify_runtime_init_done_trampoline
39//go:linkname _cgo_notify_runtime_init_done _cgo_notify_runtime_init_done
40var x_cgo_notify_runtime_init_done_trampoline byte
41var _cgo_notify_runtime_init_done = &x_cgo_notify_runtime_init_done_trampoline
42
43// TODO: decide if we need x_cgo_set_context_function
44// TODO: decide if we need _cgo_yield

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close