File: HACKING

package info (click to toggle)
libssh2 1.9.0-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,396 kB
  • sloc: ansic: 35,127; sh: 5,352; makefile: 381; awk: 23
file content (13 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13

libssh2 source code style guide:

 - 4 level indent
 - spaces-only (no tabs)
 - open braces on the if/for line:

     if (banana) {
         go_nuts();
     }

 - keep source lines shorter than 80 columns
 - See libssh2-style.el for how to achieve this within Emacs