Skip to content

Simple file access aggregated from multiple paths. Like PhysicsFS but far meeker.

License

Notifications You must be signed in to change notification settings

kettek/go-multipath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-multipath

Go Reference

A simple library for accessing files from multiple paths.

var mpath multipath.Multipath

mpath.AddPath("a", multipath.FirstPriority)
mpath.AddPath("b", multipath.LastPriority)

file, err := mpath.Open("myFile")
if err != nil {
  panic(err)
}
defer file.Close()

// Do stuff with file

About

Simple file access aggregated from multiple paths. Like PhysicsFS but far meeker.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages