Categorygithub.com/forensicanalysis/gitfs
modulepackage
0.2.2
Repository: https://github.com/forensicanalysis/gitfs.git
Documentation: pkg.go.dev

# README

gitfs

doc

Read a remote git repository as io/fs.FS.

Example

func main() {
	// init file system
	fsys, _ := gitfs.New("https://github.com/boltdb/bolt")

	// read root directory
	data, _ := fs.ReadFile(fsys, "README.md")

	// print files
	fmt.Println(string(data)[:4])
	// Output: Bolt
}

# Functions

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author