diff --git a/pkging/pkgtest/suite.go b/pkging/pkgtest/suite.go index b09186a..7ddc8f5 100644 --- a/pkging/pkgtest/suite.go +++ b/pkging/pkgtest/suite.go @@ -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") +// } diff --git a/pkging/stdos/stdos.go b/pkging/stdos/stdos.go index d88d148..44ffa0e 100644 --- a/pkging/stdos/stdos.go +++ b/pkging/stdos/stdos.go @@ -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 {