fchk

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2019 License: MIT Imports: 3 Imported by: 1

README

fchk

Go Report Card GoDoc

Functions in package fchk return bool values, indicating the status of files or folders.

Projects

  • git-in-sync: Keep all of your git repos in sync across multiple computers
  • js2x: Convert Javascript to Markdown and beyond with js2x

Documentation

Overview

Package fchk tests files and directories.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDirectory

func IsDirectory(p string) bool

IsDirectory returns true if the target is a directory.

func IsEmpty

func IsEmpty(p string) bool

IsEmpty returns true if the target is an empty directory.

func IsFile

func IsFile(p string) bool

IsFile returns true if the target is a file.

func NoPermission

func NoPermission(path string) bool

NoPermission returns true if the target can't be read, can't be written to or doesn't exist.

func NotEmpty

func NotEmpty(p string) bool

NotEmpty returns true if the target is an non-empty directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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