1import { compose } from 'lib/lib';
3export const buildFormatter = (formatters = []) => compose(...formatters);
5export const prependSig = s => {
6 if (!s || s.length <= 1) {
10 return s.charAt(0) === '~' ? s : `~${s}`;
13export const convertToNumber = s => {
15 return parseInt(s, 10);
21export const downcase = s => {
26 return s.toLowerCase();
29// const hideAllButLast = s => {
30// const ll = s[s.length -1];
31// const bs = fill(s.length - 1, '•')
35// const hideAll = s => fill(s.length, '•');
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