chmod

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2016 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