contrib : filename guidelines [no ci]

This commit is contained in:
Georgi Gerganov 2025-01-12 19:12:18 +02:00
parent d974cae286
commit df65154415
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -98,6 +98,9 @@
> [!NOTE]
> This guideline is yet to be applied to the `llama.cpp` codebase. New code should follow this guideline.
- C/C++ filenames are all lowercase with dashes. Headers use the `.h` extension. Source files use the `.c` or `.cpp` extension
- Python filenames are all lowercase with underscores
- (TODO: abbreviations usage)
# Preprocessor directives