remove unused code

This commit is contained in:
Alexandr Bruyako committed 2019-07-01 00:24:45 +03:00
1 parent 76d1866444
commit 38ea7ed4f6
6 files changed
-77

No files matched your search

-5
View File
@@ -696,8 +696,3 @@ func (node *Node) fillTimes(stat statT) {
node.ChangeTime = time.Unix(ctim.Unix())
node.AccessTime = time.Unix(atim.Unix())
}
func changeTime(stat statT) time.Time {
ctim := stat.ctim()
return time.Unix(ctim.Unix())
}
-10
View File
@@ -36,16 +36,6 @@ func (TagList) Type() string {
// TagLists consists of several TagList.
type TagLists []TagList
// splitTagLists splits a slice of strings into a slice of TagLists using
// SplitTagList.
func splitTagLists(s []string) (l TagLists) {
l = make([]TagList, 0, len(s))
for _, t := range s {
l = append(l, splitTagList(t))
}
return l
}
func (l TagLists) String() string {
return fmt.Sprintf("%v", []TagList(l))
}