MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / open

Method open

source/core/StarFile.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49FilePtr File::open(const String& filename, IOMode mode) {
50 auto file = make_shared<File>(filename);
51 file->open(mode);
52 return file;
53}
54
55ByteArray File::readFile(String const& filename) {
56 FilePtr file = File::open(filename, IOMode::Read);

Callers 5

mainFunction · 0.45
cloneMethod · 0.45
IODeviceCallbacksMethod · 0.45
testBTreeDatabaseFunction · 0.45
TESTFunction · 0.45

Calls 2

emptyMethod · 0.45
utf8PtrMethod · 0.45

Tested by 2

testBTreeDatabaseFunction · 0.36
TESTFunction · 0.36