Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheForceEngine/TheForceEngine
/ getLoc
Method
getLoc
TheForceEngine/TFE_FileSystem/filestream.cpp:162–173 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
160
}
161
162
size_t FileStream::getLoc()
163
{
164
if (!m_file && !m_archive)
165
{
166
return 0;
167
}
168
if (m_file)
169
{
170
return ftell(m_file);
171
}
172
return m_archive->getLocInFile();
173
}
174
175
size_t FileStream::getSize()
176
{
Callers
1
addFile
Method · 0.45
Calls
1
getLocInFile
Method · 0.45
Tested by
no test coverage detected