On Fri, 2009-01-16 at 10:48 -0500, Bryan Kearney wrote: > Just thinking ahead, with new features being added it may be nice to > check the verison before executing them. What would you all think of > either a aug_version() call on the augeas object which reads from > /augeas/version? > > This would allow you to check from within the tree, or the api directly, > and do branch processing.
That would be easy enough to do (probably one or two lines in aug_init) - though I suspect version info isn't _really_ what you're after, but a more finegrained way to inquire about 'features', such as whether noop mode for save is supported, right ? David _______________________________________________ augeas-devel mailing list augeas-devel@redhat.com https://www.redhat.com/mailman/listinfo/augeas-devel