Documentation ¶
Index ¶
- Variables
- func SetModTime(path, reference string) error
- type Files
- func (written Files) Descriptor(descriptor *descriptor.Descriptor, prefix, radical, reference string) error
- func (written Files) Dir(prefix, path, reference string) error
- func (written Files) File(reader io.Reader, prefix, radical, extension, reference string, overwrite bool) error
- func (written Files) Format(format string) (string, error)
- func (written Files) Hash(prefix, radical string) error
- func (written Files) Info(info *version.Version, prefix, radical, reference string) error
- func (written Files) JSON() (string, error)
- func (written Files) Output(file, format string) error
- func (written Files) Pack(mod *files.Files, prefix, destination string) error
- func (written Files) RPM() string
- func (written Files) Symlink(prefix, path, target, reference string) error
- func (written Files) Text(prefix string, special bool) string
- func (written Files) Zip(module *files.Files, prefix, radical string) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Files ¶
Files is a map of produced file paths to a list of special attributes such as "dir" or "ghost".
func (Files) Descriptor ¶
func (written Files) Descriptor( descriptor *descriptor.Descriptor, prefix, radical, reference string, ) error
Descriptor creates a new packed module description file.
func (Files) Dir ¶
Dir creates a new directory.
func (Files) File ¶
func (written Files) File( reader io.Reader, prefix, radical, extension, reference string, overwrite bool, ) error
File creates a new file.
func (Files) Format ¶
Format returns the formatted representation of the written files.
func (Files) Hash ¶
Hash creates a new packed module hash file.
func (Files) Info ¶
Info creates a new module info file.
func (Files) JSON ¶
JSON returns a JSON representation of the written files.
func (Files) Output ¶
Output writes the formatted representation of the written files to a file.
func (Files) Pack ¶
Pack creates a packed module.
func (Files) RPM ¶
RPM returns an RPM representation of the written files.
func (Files) Symlink ¶
Symlink creates a new symbolic link.
func (Files) Text ¶
Text returns a text representation of the written files.
Click to show internal directories.
Click to hide internal directories.