79409393

Date: 2025-02-03 16:32:54
Score: 0.5
Natty:
Report link
func exists(_ filePath: String) async throws{
    let storage = Storage.storage()
    
    let storageRef = storage.reference(withPath: filePath)

    _ = try await storageRef.getMetadata()
}

If exists, do not throw.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: yilmazdincsoy