class ScopedMount
Defined at line 416 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
A RRAI classes than handles a mount. The container will ensure the
unmount when the object is deleted.
Public Methods
void ScopedMount (const ScopedMount & )
Defined at line 421 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
ScopedMount & operator= (const ScopedMount & )
Defined at line 422 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
ScopedMount & operator= (ScopedMount && other)
Defined at line 423 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 long mountflags, const void * data)
Defined at line 612 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc
void ScopedMount (ScopedMount && other)
Defined at line 623 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc
void ~ScopedMount ()
Defined at line 630 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc
void Unmount ()
Defined at line 632 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc