MCPcopy Create free account
hub / github.com/PerroEngine/Perro / is_file_present

Function is_file_present

perro_source/api_modules/perro_steamworks/src/cloud.rs:45–47  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

43}
44
45pub fn is_file_present(name: &str) -> Result<bool, SteamError> {
46 app::with_client(|client| Ok(client.remote_storage().file(name).exists()))
47}
48
49pub fn delete(name: &str) -> Result<bool, SteamError> {
50 app::with_client(|client| Ok(client.remote_storage().file(name).delete()))

Callers

nothing calls this directly

Calls 2

with_clientFunction · 0.85
fileMethod · 0.80

Tested by

no test coverage detected