Skip to content

Commit

Permalink
remove concatFileItems func
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Feb 2, 2013
1 parent a72292b commit b6e54d9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions fileitem.go
Expand Up @@ -13,13 +13,6 @@ func (p * FileItem) String() string {
return p.Path
}

func ConcatFileItems(old1, old2 []FileItem) []FileItem {
newslice := make([]FileItem, len(old1) + len(old2))
copy(newslice, old1)
copy(newslice[len(old1):], old2)
return newslice
}

func PrettySize(bytes int) string {
if bytes < 1024 {
return strconv.Itoa(bytes) + "B"
Expand Down

0 comments on commit b6e54d9

Please sign in to comment.