package
0.0.9
Repository: https://github.com/devzero-inc/oda.git
Documentation: pkg.go.dev

# Functions

AppendToFile appends content to a file.
ChangeFileOwnership changes the ownership of a file.
CreateDirAndChown creates a directory and changes its ownership.
FileExists checks if a file exists or not.
GetRepoNameFromConfig checks if the current directory (or any of its parent directories) is inside a Git repository.
IsScriptPresent checks if a script is already present in a file.
SetupFS initialize the file system instance.
WriteFileAndChown writes content to a file and changes its ownership.

# Variables

Fs is the global file system instance, can be backed by real FS or MemMapFs for testing.