mirror of
https://github.com/libssh2/libssh2.git
synced 2026-10-24 03:48:58 +03:00
21 lines
372 B
Markdown
21 lines
372 B
Markdown
<!--
|
|
Copyright (C) The libssh2 project and its contributors.
|
|
|
|
SPDX-License-Identifier: BSD-3-Clause
|
|
-->
|
|
|
|
# libssh2 source code style guide
|
|
|
|
- 4 level indent
|
|
- spaces-only (no tabs)
|
|
- open braces on the if/for line:
|
|
|
|
```c
|
|
if(banana) {
|
|
go_nuts();
|
|
}
|
|
```
|
|
|
|
- keep source lines shorter than 80 columns
|
|
- See `libssh2-style.el` for how to achieve this within Emacs
|