Ejemplo n.º 1
0
 /// <nodoc/>
 public FileMaterializationInfo GetFileMaterializationInfo(PathTable pathTable)
 {
     return new FileMaterializationInfo(
         new FileContentInfo(ContentHash.ToContentHash(), FileContentInfo.LengthAndExistence.Deserialize(Length)),
         !string.IsNullOrEmpty(FileName) ? PathAtom.Create(pathTable.StringTable, FileName) : PathAtom.Invalid,
         ReparsePointInfo.Create(ReparsePointType.ToReparsePointType(), ReparsePointTarget));
 }