Download src/flashsync_native.gleam from Dhurgh/flashsync: direct link, hf CLI and curl.
- Browser
- Download file 356 Bytes
-
https://huggingface.co/spaces/Dhurgh/flashsync/resolve/main/src/flashsync_native.gleam
- Command line
-
hf download hf://spaces/Dhurgh/flashsync/src/flashsync_native.gleam
-
curl -L -o flashsync_native.gleam https://huggingface.co/spaces/Dhurgh/flashsync/resolve/main/src/flashsync_native.gleam
356 Bytes
| @external(erlang, "erlang", "load_nif") | |
| fn load_nif(path: String, load_info: Int) -> Nil | |
| pub fn save_card(_id: String, _body: String) -> String { "NIF_NOT_LOADED" } | |
| pub fn get_card(_id: String) -> String { "NIF_NOT_LOADED" } | |
| pub fn load() { | |
| // We use the relative path that works on Windows BEAM | |
| let _ = load_nif("priv/flashsync_native", 0) | |
| Nil | |
| } | |