Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenSN-Library/OpenSN-Library
/ PreivewFile
Function
PreivewFile
ui/src/Request/file.js:31–35 ·
view source on GitHub ↗
(relative_path,callback)
Source
from the content-addressed store, hash-verified
29
}
30
31
export
const
PreivewFile = (relative_path,callback) => {
32
axios.get(UrlBase + `/file/preview?path=${relative_path}`).then((response) => {
33
callback(response);
34
});
35
}
Callers
1
onSelect
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected