|
resonance 1.0.1
|
#include <charconv>#include <chrono>#include <cstddef>#include <cstdint>#include <expected>#include <filesystem>#include <format>#include <optional>#include <span>#include <string>#include <system_error>#include "imageerror.h"

Go to the source code of this file.
Namespaces | |
| namespace | Tools |
| Host tools that the build runs. | |
| namespace | Tools::BuildImage |
| Writer of a FreQuency disc image with the built executable and module in place. | |
Typedefs | |
| using | Tools::BuildImage::Seconds = std::chrono::sys_seconds |
| A UTC time with a resolution of one second. | |
Functions | |
| void | Tools::BuildImage::writeRecordDate (std::span< std::uint8_t > bytes, std::size_t offset, Seconds time) |
| Write the seven-byte date of a directory record, in UTC. | |
| Seconds | Tools::BuildImage::readRecordDate (std::span< const std::uint8_t > bytes, std::size_t offset) |
| Read the seven-byte date of a directory record. | |
| std::string | Tools::BuildImage::volumeDate (Seconds time) |
| Format the 16 digits of a volume descriptor date, in UTC with hundredths of zero. | |
| std::optional< Seconds > | Tools::BuildImage::readVolumeDate (std::span< const std::uint8_t > bytes, std::size_t offset) |
| Read the 17-byte date of a volume descriptor. | |
| std::expected< Seconds, Error > | Tools::BuildImage::fileModificationTime (const std::filesystem::path &path) |
| Read the modification time of a file or directory. | |
Variables | |
| constexpr int | Tools::BuildImage::kIsoZoneMinutes = 15 |
| Minutes in one step of an ISO9660 zone offset. | |