mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 10:10:59 +00:00
This commit moves the implementation of getopt into AK, and converts its API to understand and use StringView instead of char*. Everything else is caught in the crossfire of making Option::accept_value() take a StringView instead of a char const*. With this, we must now pass a Span<StringView> to ArgsParser::parse(), applications using LibMain are unaffected, but anything not using that or taking its own argc/argv has to construct a Vector<StringView> for this method. |
||
|---|---|---|
| .. | ||
| 10kb.txt | ||
| CMakeLists.txt | ||
| long_lines.txt | ||
| small.txt | ||
| TestLibCoreArgsParser.cpp | ||
| TestLibCoreDeferredInvoke.cpp | ||
| TestLibCoreFilePermissionsMask.cpp | ||
| TestLibCoreFileWatcher.cpp | ||
| TestLibCoreIODevice.cpp | ||
| TestLibCoreSharedSingleProducerCircularQueue.cpp | ||
| TestLibCoreStream.cpp | ||