Interface IDataInfo
- Namespace
- Cobilas.GodotEngine.Utility.IO.Interfaces
- Assembly
- com.cobilas.godot.utility.dll
Represents information about a data item within an archive or file system.
public interface IDataInfo : IDisposable, IFormattable
- Inherited Members
Remarks
This interface provides metadata about data items including attributes, timing information, and hierarchical relationships. It supports both Godot-specific and general file system operations.
Properties
Attributes
Gets the attributes associated with the data item.
ArchiveAttributes Attributes { get; }
Property Value
- ArchiveAttributes
The archive attributes defining the item's properties and permissions.
FullName
Gets the full path and name of the data item.
string FullName { get; }
Property Value
- string
The complete path including the item name.
GetCreationTime
Gets the creation time of the data item in local time.
DateTime GetCreationTime { get; }
Property Value
- DateTime
The creation date and time in local time.
GetCreationTimeUtc
Gets the creation time of the data item in Coordinated Universal Time (UTC).
DateTime GetCreationTimeUtc { get; }
Property Value
- DateTime
The creation date and time in UTC.
GetLastAccessTime
Gets the last access time of the data item in local time.
DateTime GetLastAccessTime { get; }
Property Value
- DateTime
The last access date and time in local time.
GetLastAccessTimeUtc
Gets the last access time of the data item in Coordinated Universal Time (UTC).
DateTime GetLastAccessTimeUtc { get; }
Property Value
- DateTime
The last access date and time in UTC.
GetLastWriteTime
Gets the last write time of the data item in local time.
DateTime GetLastWriteTime { get; }
Property Value
- DateTime
The last write date and time in local time.
GetLastWriteTimeUtc
Gets the last write time of the data item in Coordinated Universal Time (UTC).
DateTime GetLastWriteTimeUtc { get; }
Property Value
- DateTime
The last write date and time in UTC.
IsGodotRoot
Gets a value indicating whether the data item is located at the Godot engine root.
bool IsGodotRoot { get; }
Property Value
- bool
true if the item is at the Godot root; otherwise, false.
IsInternal
Gets a value indicating whether the data item is internal to the application or archive.
bool IsInternal { get; }
Property Value
- bool
true if the item is internal; otherwise, false.
Name
Gets the name of the data item without the path.
string Name { get; }
Property Value
- string
The name of the data item.
Parent
Gets the parent data item of the current item.
IDataInfo Parent { get; }