is

package module
v0.0.0-...-227ab8c Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Is

type Is struct{}

func New

func New() *Is

func (*Is) IsExist

func (i *Is) IsExist(fullPath, fileType string) (string, bool, error)

func (*Is) IsFileOwner

func (i *Is) IsFileOwner(file string, owners []string) (string, bool)

func (*Is) IsFilePermission

func (i *Is) IsFilePermission(file string, permissions []string) (string, bool)

func (*Is) IsInList

func (i *Is) IsInList(slice []string, val string) bool

func (*Is) IsOS

func (i *Is) IsOS() string

func (*Is) IsRoot

func (i *Is) IsRoot() bool

func (*Is) IsRunning

func (i *Is) IsRunning(process string, pid int) (bool, error)

func (*Is) IsRunningUser

func (i *Is) IsRunningUser() (string, error)

func (*Is) IsUser

func (i *Is) IsUser(runUser string) (bool, error)

Jump to

Keyboard shortcuts

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