The list of Element objects from the stat
command.
try {
AcResult result = await AcCommand.runAsync(@"stat -foix -B -d -s ""NEPTUNE_DEV2_barnyrd""");
if (result == null || result.RetVal != 0) return false;
if (Stat.init(result.CmdResult))
foreach (Element elem in Stat.Elements.OrderBy(n => n.Location).ThenByDescending(n => n.ModTime))
Console.WriteLine(elem.ToString("LV"));
}
catch (AcUtilsException ecx)
{
Console.WriteLine($"AcUtilsException caught in Program.show{Environment.NewLine}{ecx.Message}");
}
catch (Exception ecx)
{
Console.WriteLine($"Exception caught in Program.show{Environment.NewLine}{ecx.Message}");
}
Definition at line 447 of file Stat.cs.