From a02379c18b247fdac51ab8c9af58244916191b73 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 8 Jan 2019 18:34:51 -0800 Subject: [PATCH] add file stub --- platform/file.go | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 platform/file.go diff --git a/platform/file.go b/platform/file.go new file mode 100644 index 0000000..47090c9 --- /dev/null +++ b/platform/file.go @@ -0,0 +1,22 @@ +package platform + +import "github.com/FooSoft/lazarus/formats/mpq" + +var fileState struct { + mountPoints map[string]mpq.MpqArchive +} + +type File struct { +} + +func FileMountArchive(mountPath, archivePath string) error { + return nil +} + +func FileUnmountArchive(mountPath string) error { + return nil +} + +func FileOpen(path string) (*File, error) { + return nil, nil +}