MordhauBuddy


INI

Namespace: MordhauBuddy.Core
Parent Module: FileOps

File operations for INI files

Functions and values

Function or valueDescription
cleanBackups bSet file
Signature: bSet:BackupSettings -> file:string -> unit

Clean backups directory based on given backup settings

createBackup(file)
Signature: file:string -> bool

Create a backup of the given file into sub directory MordhauBuddy_backups

defaultDir
Signature: string option

Try to find the configuration directory

logger
Signature: Logger
tryGetFile file workingDir
Signature: file:string -> workingDir:string option -> string option

Try to find the file given an INIFile

tryReadINI(file)
Signature: file:string -> INIValue option

Try to read an INI file

tryWriteINI iVal outFile
Signature: iVal:INIValue -> outFile:string -> string option

Write INIValue to file path