filesys

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2016 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Overview

Package to abstract finding the current directory, Listing the current directory and recursing through given directory

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Curdir

func Curdir() string

Return the current directory

func IsFile

func IsFile(file string) (bool, error)

Test if string is a real file

func Listdir

func Listdir(curdir string) ([]os.FileInfo, error)

List contents of directory

func Recurse

func Recurse(curdir string, verbose bool) ([]string, error)

Walk directory and return slice of all files with absolute paths

Types

This section is empty.

Jump to

Keyboard shortcuts

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