Help us shape the future of Go! Take the 2026 Go Developer Survey

chown

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2016 License: 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