MCPcopy Create free account
hub / github.com/EngoEngine/engo / openFile

Function openFile

engo_sdl.go:362–364  ·  view source on GitHub ↗

openFile is the desktop-specific way of opening a file

(url string)

Source from the content-addressed store, hash-verified

360
361// openFile is the desktop-specific way of opening a file
362func openFile(url string) (io.ReadCloser, error) {
363 return os.Open(url)
364}
365
366// IsAndroidChrome tells if the browser is Chrome for android
367func IsAndroidChrome() bool {

Callers

nothing calls this directly

Calls 1

OpenMethod · 0.80

Tested by

no test coverage detected