Example #1
0
 public virtual ContentSummaryComputationContext ComputeContentSummary(BlockStoragePolicySuite
                                                                       bsps, INodeDirectory snapshotRoot, ContentSummaryComputationContext summary)
 {
     snapshotRoot.ComputeContentSummary(summary);
     summary.GetCounts().AddContent(Content.Snapshot, snapshotsByNames.Count);
     summary.GetCounts().AddContent(Content.SnapshottableDirectory, 1);
     return(summary);
 }