chmod

package
v1.6.6-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package chown provides an interface and implementations for things that run run the chmod system call.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// Chmod changes the mode of the given file, implementing the same
	// semantics as os.Chmod.
	Chmod(path string, filemode os.FileMode) error
}

Interface is something that knows how to run the chmod system call. It is non-recursive.

func New

func New() Interface

Jump to

Keyboard shortcuts

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