class ScopedMount
Defined at line 451 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
An RAII class that handles a mount. The container will ensure the
unmount when the object is deleted.
Public Methods
void ScopedMount ()
Defined at line 462 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
void ScopedMount (const ScopedMount & )
Defined at line 463 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
ScopedMount & operator= (const ScopedMount & )
Defined at line 464 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
fit::result<int, ScopedMount> Mount (const std::string &source,const std::string &target,const std::string &filesystemtype,unsigned longmountflags,const void *data)
Defined at line 829 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc
fit::result<int, ScopedMount> CreateDirAndMount (const std::string &source,const std::string &target,const std::string &filesystemtype,unsigned longmountflags,const void *data)
Defined at line 840 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc
ScopedMount & operator= (ScopedMount && other)
Defined at line 851 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc
void ScopedMount (ScopedMount && other)
Defined at line 859 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc
void ~ScopedMount ()
Defined at line 863 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc
void Unmount ()
Defined at line 865 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc