3 #include <msp/strings/format.h>
5 #include "stat_private.h"
10 void Stat::Private::fill_owner_info(Stat::OwnerInfo &result)
13 if((owner = getpwuid(owner_id)))
14 result.owner = owner->pw_name;
16 result.owner = format("%d", owner_id);
19 if((group = getgrgid(group_id)))
20 result.group = group->gr_name;
22 result.group = format("%d", group_id);