nothing is how he feels

This commit is contained in:
Mark Bates 2019-09-05 12:30:13 -04:00
parent 29b463b420
commit e45df3e5ac
2 changed files with 7 additions and 27 deletions

View File

@ -418,18 +418,10 @@ func (s Suite) Test_Stat_File(t *testing.T) {
}
}
func (s Suite) Test_Walk(t *testing.T) {
panic("not implemented")
}
func (s Suite) Test_Remove(t *testing.T) {
panic("not implemented")
}
func (s Suite) Test_HTTP_Open(t *testing.T) {
panic("not implemented")
}
func (s Suite) Test_HTTP_Readdir(t *testing.T) {
panic("not implemented")
}
// func (s Suite) Test_Walk(t *testing.T) {
// panic("not implemented")
// }
//
// func (s Suite) Test_Remove(t *testing.T) {
// panic("not implemented")
// }

View File

@ -20,18 +20,6 @@ type Pkger struct {
current here.Info
}
func (p *Pkger) OpenFile(name string, flag int, perm os.FileMode) (pkging.File, error) {
name, err := p.Abs(name)
if err != nil {
return nil, err
}
f, err := os.OpenFile(name, flag, perm)
if err != nil {
return nil, err
}
return NewFile(p, f)
}
func (f *Pkger) Abs(p string) (string, error) {
pt, err := f.Parse(p)
if err != nil {