chown

package
v0.0.0-...-34ffbed Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package chown implements the chown gRPC service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Service) error

Option is a functional option to set the executable in tests.

type Service

type Service struct {
	pb.UnimplementedChownServiceServer
	// contains filtered or unexported fields
}

Service is the implementation of the Pro service.

func New

func New(opts ...Option) (*Service, error)

New returns a new instance of the Chown service.

func (*Service) ChownSettings

func (s *Service) ChownSettings(ctx context.Context, req *pb.ChownRequest) (*pb.ChownResponse, error)

ChownSettings attempts to recursively chown the /run/gnome-initial-setup directory for a given user.

Jump to

Keyboard shortcuts

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