AcUtils
A high performance abstraction layer for AccuRev
|
Get user preferences retrieved by way of the getpref
command.
More...
Static Public Member Functions | |
static async Task< bool[]> | getIgnoreOptionsAsync () |
Get the user's Diff/Merge and Ignore Options (AccuRev Diff only) preferences. More... | |
static async Task< bool?> | getUseIgnoreElemsOptimizationAsync () |
Get the user's USE_IGNORE_ELEMS_OPTIMIZATION setting. More... | |
static async Task< string > | getAcHomeFolderAsync () |
Get the AccuRev home folder for the current user. More... | |
Static Private Member Functions | |
static async Task< string > | getPreferencesAsync () |
Get user preferences retrieved by way of the getpref command. More... | |
Get user preferences retrieved by way of the getpref
command.
Definition at line 27 of file AcPreferences.cs.
|
inlinestatic |
Get the AccuRev home folder for the current user.
Exception | caught and logged in %LOCALAPPDATA%\AcTools\Logs\<prog_name>-YYYY-MM-DD.log on failure to handle a range of exceptions. |
Definition at line 123 of file AcPreferences.cs.
|
inlinestatic |
Get the user's Diff/Merge and Ignore Options (AccuRev Diff only) preferences.
Ignore Whitespace is true if spaces, tabs and empty lines should be ignored, false otherwise. A setting of true overrides Ignore Changes in Whitespace setting.
Ignore Changes in Whitespace is true if a change in the amount of whitespace should be considered a change to that line, false otherwise.
Ignore Case is true if uppercase and lowercase characters should be considered the same when comparing text, false otherwise.
diff
only. The merge
command does not use these settings and will show all conflicts. Exception | caught and logged in %LOCALAPPDATA%\AcTools\Logs\<prog_name>-YYYY-MM-DD.log on failure to handle a range of exceptions. |
Definition at line 48 of file AcPreferences.cs.
|
inlinestaticprivate |
Get user preferences retrieved by way of the getpref
command.
getpref
set_pref.xml
accurev setpref -l set_pref.xml
(-l switch is a lowercase L)<AcRequest> <USE_IGNORE_ELEMS_OPTIMIZATION>true</USE_IGNORE_ELEMS_OPTIMIZATION> ... </AcRequest>
AcUtilsException | caught and logged in %LOCALAPPDATA%\AcTools\Logs\<prog_name>-YYYY-MM-DD.log on getpref command failure. |
Exception | caught and logged in same on failure to handle a range of exceptions. |
Definition at line 178 of file AcPreferences.cs.
Referenced by AcUtils.AcPreferences.getAcHomeFolderAsync(), and AcUtils.AcPreferences.getUseIgnoreElemsOptimizationAsync().
|
inlinestatic |
Get the user's USE_IGNORE_ELEMS_OPTIMIZATION setting.
Exception | caught and logged in %LOCALAPPDATA%\AcTools\Logs\<prog_name>-YYYY-MM-DD.log on failure to handle a range of exceptions. |
Definition at line 87 of file AcPreferences.cs.