1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-10-15 06:33:46 -04:00
OpenDiablo2/d2common/d2interface/file_manager.go

11 lines
296 B
Go
Raw Normal View History

package d2interface
// FileManager manages file access to the archives being managed
// by the ArchiveManager
type FileManager interface {
Cacher
LoadFileStream(filePath string) (ArchiveDataStream, error)
LoadFile(filePath string) ([]byte, error)
FileExists(filePath string) (bool, error)
}