lacrosproc

package
v0.0.0-...-9474aff Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package lacrosproc provides utilities to find lacros Chrome processes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Root

func Root(t LacrosLocation) (*process.Process, error)

Root returns the Process instance of the root lacros-chrome process. For LacrosLocation Stateful, an error will be returned if multiple executables have been found.

Types

type LacrosLocation

type LacrosLocation int

LacrosLocation specifies how lacros has been deployed, since this effects the location of the binary.

const (
	// Rootfs lacros location.
	Rootfs LacrosLocation = iota
	// Stateful lacros location.
	Stateful
	// Deployed lacros location (e.g. via deploy_chrome.py).
	Deployed
)

Jump to

Keyboard shortcuts

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