Sharp.Augeas/CodeLiturgy.Augeas/AugFlags.cs

44 lines
1.0 KiB
C#

namespace CodeLiturgy.Augeas;
public static class AugFlags
{
public static int NONE = 0;
/**
* Keep the original file with a .augsave extension
*/
public static int SAVE_BACKUP = (1 << 0);
/**
* Save changes into a file with extension .augnew, and do not overwrite the
* original file. Takes precedence over AUG_SAVE_BACKUP
*/
public static int SAVE_NEWFILE = (1 << 1);
/**
* Typecheck lenses; since it can be very expensive it is not done by
* default
*/
public static int TYPE_CHECK = (1 << 2);
/**
* Do not use the builtin load path for modules
*/
public static int NO_STDINC = (1 << 3);
/**
* Make save a no-op process, just record what would have changed
*/
public static int SAVE_NOOP = (1 << 4);
/**
* Do not load the tree from AUG_INIT
*/
public static int NO_LOAD = (1 << 5);
public static int NO_MODL_AUTOLOAD = (1 << 6);
/**
* Enable span on load
*/
public static int AUG_ENABLE_SPAN = (1 << 7);
}