libassh-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make code formatting consistent (clang-format)?


From: Ilias Ozgur Can Leonard
Subject: make code formatting consistent (clang-format)?
Date: Thu, 12 Dec 2024 15:32:03 +0300

hi
first of all... wow! this is an awesome project!
i've been looking at the competition (the two famous libssh* libraries) and i really didn't like the style or the structure, and i was thinking i'd have to dig into the internals of those libraries to get something like what i want...
it was by pure luck that i came across your project, and it's simply awesome! i'm just surprised it isn't more widely known (or is it?)

one minor nit (totally a nit) is that the indentation/formatting (at least in the examples/ directory that I've been looking at.... but i just checked and it's elsewhere too) is inconsistent and makes the code harder to read. would you accept a PR that fixes the formatting (clang-format) or would you consider doing it yourself? tbh it seems like `clang-format --style=mozilla` is closest to what i'm used to, but i guess any consistent style would be fine. it's your code after all :)

thoughts?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]