namespace Msp {
namespace FS {
-Stat::Private::Private():
- owner_id(0),
- group_id(0)
-{ }
-
-
-Stat::Stat():
- exists(false),
- type(UNKNOWN),
- size(0),
- alloc_size(0),
- priv(0)
-{ }
-
Stat::Stat(const Stat &other):
exists(other.exists),
type(other.type),
delete priv;
}
-const std::string &Stat::get_owner() const
+const string &Stat::get_owner() const
{
if(priv && owner_info.owner.empty())
priv->fill_owner_info(owner_info);
return owner_info.owner;
}
-const std::string &Stat::get_group() const
+const string &Stat::get_group() const
{
if(priv && owner_info.group.empty())
priv->fill_owner_info(owner_info);