Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ GetSize
Function
GetSize
Kernel/src/fs/tar.cpp:16–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
}
15
16
inline static long GetSize(char* size){ // Get size of file in blocks
17
long sz = OctToDec(size, 12);
18
return sz;
19
}
20
21
inline static long GetBlockCount(char* size){ // Get size of file in blocks
22
long sz = OctToDec(size, 12);
Callers
2
Message
Method · 0.85
MakeNode
Method · 0.85
Calls
1
OctToDec
Function · 0.85
Tested by
no test coverage detected