• B
    Print xattrs in tree view like we do errors · 69b22a0d
    Ben S 提交于
    This changes the way extended attributes (xattrs) are printed. Before, they were artificially printed out on their own line both in lines mode *and* details mode, which looked a bit weird. Now, they are additional 'child nodes' of that item that get printed alongside errors.
    
    All this allows all the 'extra info' that is going to be present for very few entries to be consolidated and listed in the same way, without resorting to extra printlns.
    
    As a great side-effect, it allows taking out some of the more redundant code in the Table impl -- it is now *always* going to be in create-child-nodes mode, as *any* file now can, not only when we have the --tree flag in use.
    
    Also, it now actually displays errors when failing to read the extended attributes, such as if the user doesn't have permission to read them.
    
    The extended attribute flag has been temporarily disabled while I work out the best way to do it!
    69b22a0d
grid_details.rs 3.8 KB