refactor(blogo,fs): move fs code to it's own package
This commit is contained in:
@@ -13,12 +13,14 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
package blogo
|
package fs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"io/fs"
|
"io/fs"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var ErrNotExist = fs.ErrNotExist
|
||||||
|
|
||||||
type FS interface {
|
type FS interface {
|
||||||
Metadata() Metadata
|
Metadata() Metadata
|
||||||
Open(name string) (File, error)
|
Open(name string) (File, error)
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
package blogo
|
package fs
|
||||||
|
|
||||||
import "errors"
|
import "errors"
|
||||||
|
|
||||||
Reference in New Issue
Block a user