Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 331 Bytes

code_standard.md

File metadata and controls

13 lines (8 loc) · 331 Bytes

Code Standard

The source code of seafile is ISO/IEC 9899:1999 (E) (a.k.a. C99) compatible.

Indent

  • Use only spaces, and indent 4 spaces at a time.

Inline

  • Define functions inline only when they are sufficiently small.

Const

  • We are using keyword const in the source.Please look into the code for detail.