mirror of
https://github.com/vbatts/go-mtree.git
synced 2025-07-28 01:00:26 +00:00
WIP
This commit is contained in:
parent
9527941501
commit
80f85b01d5
2 changed files with 17 additions and 3 deletions
|
@ -5,12 +5,15 @@ import (
|
|||
"sort"
|
||||
)
|
||||
|
||||
// DirectoryHierarchy is the mapped structure for an mtree directory hierarchy
|
||||
// spec
|
||||
// DirectoryHierarchy is the mapped structure for an mtree directory hierarchy specification.
|
||||
type DirectoryHierarchy struct {
|
||||
Entries []Entry
|
||||
}
|
||||
|
||||
var DefaultDirectoryHierarchyFormatter
|
||||
type DirectoryHierarchyFormatter interface {}
|
||||
|
||||
|
||||
// WriteTo simplifies the output of the resulting hierarchy spec.
|
||||
// Satisfies the `io.WriterTo` interface.
|
||||
func (dh DirectoryHierarchy) WriteTo(w io.Writer) (n int64, err error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue