MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / TarTypeToFilesystemFlags

Function TarTypeToFilesystemFlags

Kernel/src/fs/tar.cpp:27–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27inline static uint32_t TarTypeToFilesystemFlags(char type){
28 switch(type){
29 case TAR_TYPE_DIRECTORY:
30 return FS_NODE_DIRECTORY;
31 default:
32 return FS_NODE_FILE;
33 }
34}
35
36namespace fs::tar{
37 ssize_t TarNode::Read(size_t offset, size_t size, uint8_t *buffer){

Callers 1

MakeNodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected