dissect.target.plugins.os.unix.datetime¶
Module Contents¶
Classes¶
Generic implementation for datetime plugin. |
- class dissect.target.plugins.os.unix.datetime.UnixDateTimePlugin(target: dissect.target.target.Target)¶
Bases:
dissect.target.plugins.os.default.datetime.DateTimePluginGeneric implementation for datetime plugin.
- __namespace__ = 'datetime'¶
Defines the plugin namespace.
- check_compatible() None¶
Perform a compatibility check with the target.
This function should return
Noneif the plugin is compatible with the current target (self.target). For example, check if a certain file exists. Otherwise it should raise anUnsupportedPluginError.- Raises:
UnsupportedPluginError – If the plugin could not be loaded.
- tzinfo() datetime.tzinfo¶
Return a
datetime.tzinfoof the current system timezone.