chown

package
v0.20.0-alpha5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2016 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package chown provides utilities to chown a path

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// Chown changes the owning UID and GID of a file, implementing
	// the exact same semantics as os.Chown.
	Chown(path string, uid, gid int) error
}

Interface is something that knows how to run the chown 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