mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
internal/file: update comments
This commit is contained in:
parent
e43bb3898b
commit
0e6702c043
@ -64,7 +64,8 @@ func (v *VirtualFS) Open(name string) (fs.File, error) {
|
||||
if filepath.Base(realPath) != es[0] {
|
||||
continue
|
||||
}
|
||||
// TODO: Does this work on Windows?
|
||||
// os.File should implement fs.File interface, so this should be fine even on Windows.
|
||||
// See https://cs.opensource.google/go/go/+/refs/tags/go1.23.0:src/os/file.go;l=695-710
|
||||
return os.Open(filepath.Join(append([]string{realPath}, es[1:]...)...))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user