deleteSettings

Deletes settings files for the specified app that are handled by this library. Also removes directory if empty.

void
deleteSettings
(
alias settingsFormat = SettingsFormat
)
(
string name
,
string filename = settingsFilename
,
string subdir = ""
)

Parameters

name string

App name.

filename string

The settings file that will be deleted.

subdir string

Settings subdirectory to delete.

Examples

deleteSettings("testapp", "settings", "subdir");
deleteSettings("testapp", "settings", "mysubdir");
deleteSettings("testapp", "settings", "");

Meta