22 return _directoryInfo.Exists;
33 return _directoryInfo.Name;
44 return _directoryInfo.FullName;
55 return _directoryInfo;
59 private readonly DirectoryInfo _directoryInfo;
68 internal WinGetDirectory(
string entryName,
string rawContent,
bool hasShortenedContent, DirectoryInfo directoryInfo) : base(entryName, rawContent, hasShortenedContent)
70 _directoryInfo = directoryInfo;
81 if (ReferenceEquals(
this, other))
88 _directoryInfo.Equals(other.
Info))
102 _hasShortenedContent,
Represents a basic winget info entry.
bool HasShortenedContent
Gets if content of the package is shortened.
string RawContent
Gets the raw content of the info entry.
string EntryName
Gets the name of the info entry.
Represents a winget directory in the info set.
override bool Equals(WinGetDirectory? other)
string FullName
Gets the full path of the directory.
DirectoryInfo Info
Gets the direcory info instance.
string Name
Gets the name of the directory.
bool Exists
Gets a value indicating whether the directory exists.