Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ File
Class
File
src/fs/file.rs:24–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
// Basic file structure
23
#[derive(Debug, Clone)]
24
pub struct File
25
{
26
address: u32,
27
directory: Directory,
28
name: String,
29
offset: u32,
30
size: u32,
31
}
32
33
34
// Implementation of the File struct
Callers
1
create
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected