package server
import (
"os"
)
type Files []Path
func newFiles() *Files {
d := Files([]Path{})
return &d
}
func (d *Files) Push(p string, f os.FileInfo) {
if !f.IsDir() {
*d = append(*d, Path{
dir: p,
base: f.Name(),
})