Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleFile ¶
type ModuleFile struct { // Absolute path to Root of Module Root string // Relative from module Filename string }
Implements golang.org/x/mod/zip.File interface using 'os' package functions.
Interesting property:
Root + Filename = abs path to file in OS
func (ModuleFile) Open ¶
func (m ModuleFile) Open() (io.ReadCloser, error)
func (ModuleFile) Path ¶
func (m ModuleFile) Path() string
Click to show internal directories.
Click to hide internal directories.