fs

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2022 License: MPL-2.0 Imports: 9 Imported by: 8

Documentation

Overview

Package fs implements Warcraft III file system utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

Storage provider for Warcraft III file system

func Open

func Open(installPath string, userPaths ...string) *Storage

Open Warcraft III storage from installPath and userPath

func (*Storage) Close

func (stor *Storage) Close() error

Close storage

func (*Storage) Open

func (stor *Storage) Open(subFileName string) (io.ReadCloser, error)

Open subFileName from storage

Directories

Path Synopsis
Package dir locates the Warcraft III installation and user directories.
Package dir locates the Warcraft III installation and user directories.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL