Example #1
0
 public static SnapshottableDirectoryStatus.Bean ToBean(INodeDirectory d)
 {
     return(new SnapshottableDirectoryStatus.Bean(d.GetFullPathName(), d.GetDirectorySnapshottableFeature
                                                      ().GetNumSnapshots(), d.GetDirectorySnapshottableFeature().GetSnapshotQuota(), d
                                                  .GetModificationTime(), short.ValueOf(Sharpen.Extensions.ToOctalString(d.GetFsPermissionShort
                                                                                                                             ())), d.GetUserName(), d.GetGroupName()));
 }