1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 18:25:06 +00:00

FileSystem: Get rid of VFS::absolute_path() and teach Mount about custodies.

This commit is contained in:
Andreas Kling 2019-05-30 21:29:26 +02:00
parent 8e83aac8a3
commit 874bffc729
6 changed files with 40 additions and 97 deletions

View file

@ -261,7 +261,7 @@ int FileDescriptor::close()
return 0;
}
KResultOr<String> FileDescriptor::absolute_path()
String FileDescriptor::absolute_path()
{
if (m_custody)
return m_custody->absolute_path();