Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ info
Function
info
src/sys/sc/svc.rs:26–37 ·
view source on GitHub ↗
Info
(path: &str, info: &mut FileInfo)
Source
from the content-addressed store, hash-verified
24
25
// Info
26
pub fn info(path: &str, info: &mut FileInfo) -> isize
27
{
28
if let Some(res) = crate::fs::info(path)
29
{
30
*info = res;
31
0
32
}
33
else
34
{
35
-1
36
}
37
}
38
39
40
// Read
Callers
1
spawn
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected