1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:47:34 +00:00

LibCore: Add FIXME note about converting Core::Account to use StringView

This prevents a bunch of utilities from using StringView for their
arguments.
This commit is contained in:
sin-ack 2022-07-11 20:53:39 +00:00 committed by Andreas Kling
parent fbc771efe9
commit 87f5e0bcda

View file

@ -32,6 +32,8 @@ public:
PasswdOnly
};
// FIXME: Convert the methods below to take StringViews instead.
static ErrorOr<Account> self(Read options = Read::All);
static ErrorOr<Account> from_name(char const* username, Read options = Read::All);
static ErrorOr<Account> from_uid(uid_t uid, Read options = Read::All);