public override void Read(BufferReader reader, RecordHeader header) { base.Read(reader, header); name = reader.ReadName(); physical = reader.ReadString(10); }
public override void Read(BufferReader reader, RecordHeader header) { base.Read(reader, header); name = reader.ReadName(); unkShort = reader.ReadInt16(); // 0 or 1 physical = reader.ReadString(10); }
public override void Read(BufferReader reader, RecordHeader header) { base.Read(reader, header); itemType = (ItemType)reader.ReadInt16(); flags = (ProjectEntryFlags)reader.ReadInt16(); name = reader.ReadName(); pinnedVersion = reader.ReadInt16(); physical = reader.ReadString(10); }
public override void Read(BufferReader reader, RecordHeader header) { base.Read(reader, header); name = reader.ReadName(); physical = reader.ReadString(10); reader.Skip(2); // 0? archivePath = reader.ReadString(260); reader.Skip(4); // ? }
public override void Read(BufferReader reader, RecordHeader header) { base.Read(reader, header); projectPath = reader.ReadString(260); name = reader.ReadName(); unpinnedRevision = reader.ReadInt16(); pinnedRevision = reader.ReadInt16(); unkShort = reader.ReadInt16(); // often seems to increment physical = reader.ReadString(10); }
public override void Read(BufferReader reader, RecordHeader header) { base.Read(reader, header); itemType = (ItemType)reader.ReadInt16(); revisions = reader.ReadInt16(); name = reader.ReadName(); firstRevision = reader.ReadInt16(); dataExt = reader.ReadString(2); firstRevOffset = reader.ReadInt32(); lastRevOffset = reader.ReadInt32(); eofOffset = reader.ReadInt32(); rightsOffset = reader.ReadInt32(); reader.Skip(16); // reserved; always 0 }
public override void Read(BufferReader reader, RecordHeader header) { base.Read(reader, header); itemType = (ItemType)reader.ReadInt16(); revisions = reader.ReadInt16(); name = reader.ReadName(); firstRevision = reader.ReadInt16(); dataExt = reader.ReadString(2); if (Type.GetType("Mono.Runtime") != null) { dataExt = dataExt.ToLower(); } firstRevOffset = reader.ReadInt32(); lastRevOffset = reader.ReadInt32(); eofOffset = reader.ReadInt32(); rightsOffset = reader.ReadInt32(); reader.Skip(16); // reserved; always 0 }
public override void Read(BufferReader reader, RecordHeader header) { base.Read(reader, header); name = reader.ReadName(); oldName = reader.ReadName(); physical = reader.ReadString(10); }
internal VssItemName GetItemName(VssName name, string physicalName) { return new VssItemName(GetFullName(name), physicalName, name.IsProject); }
internal string GetFullName(VssName name) { if (name.NameFileOffset != 0) { var nameRecord = nameFile.GetName(name.NameFileOffset); var nameIndex = nameRecord.IndexOf(name.IsProject ? NameKind.Project : NameKind.Long); if (nameIndex >= 0) { return nameRecord.GetName(nameIndex); } } return name.ShortName; }