fs

package
v0.0.0-...-3098c48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package fs contains the code for interfacing with the file system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystem

type FileSystem interface {
	ReadDir(path string) ([]os.FileInfo, error)
	DirExists(path string) (bool, error)
	Freeze(path string) error
	Thaw(path string) error
}

FileSystem is a abstraction of the file system with minimal required functionality.

func New

func New() FileSystem

New returns default OS File System.

Directories

Path Synopsis
Package fstest provides testing utilities for testing the fs package.
Package fstest provides testing utilities for testing the fs package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL