posix library

barrel file for posix specific functions.

Classes

AshShell
Provides a number of helper functions when dcli needs to interact with the Bash shell.
BashShell
Provides a number of helper functions when dcli needs to interact with the Bash shell.
DashShell
Provides a number of helper functions when dcli needs to interact with the Bash shell.
FishShell
Provides a number of helper functions when dcli needs to interact with the Zsh shell.
Immutable<T>
ShShell
Provides a number of helper functions when dcli needs to interact with the Bash shell.
UserEnvironment
ZshShell
Provides a number of helper functions when dcli needs to interact with the Zsh shell.

Mixins

PosixShell
Provides a number of helper functions for posix based shells.

Functions

chmod(String path, {required String permission}) → void
Wrapper for the linux chmod command.
chown(String path, {String? user, String? group, bool recursive = true}) → void
Sets the owner of a file on posix systems.

Exceptions / Errors

ChModException
Thrown if the chmod function encounters an error.
ChOwnException
Thrown if the chown function encounters an error.