aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-04-02 20:35:53 +0200
committerGitHub Enterprise <[email protected]>2025-04-02 20:35:53 +0200
commitf535a53cdda32b2b4950e32901dcd333bea82c23 (patch)
treea50181e526db53cc609ac44defcea7609585fd31 /src/zenstore/include
parentMerge branch 'main' of https://github.ol.epicgames.net/ue-foundation/zen (diff)
downloadzen-f535a53cdda32b2b4950e32901dcd333bea82c23.tar.xz
zen-f535a53cdda32b2b4950e32901dcd333bea82c23.zip
use oidctoken executable to generate auth (#336)
- Feature: `zen builds` auth option `--oidctoken-exe-path` to let zen run the OidcToken executable to get and refresh authentication token
Diffstat (limited to 'src/zenstore/include')
-rw-r--r--src/zenstore/include/zenstore/gc.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/zenstore/include/zenstore/gc.h b/src/zenstore/include/zenstore/gc.h
index 67aadef71..3223fba39 100644
--- a/src/zenstore/include/zenstore/gc.h
+++ b/src/zenstore/include/zenstore/gc.h
@@ -586,16 +586,3 @@ private:
void gc_forcelink();
} // namespace zen
-
-template<>
-struct fmt::formatter<zen::GcClock::TimePoint> : formatter<string_view>
-{
- template<typename FormatContext>
- auto format(const zen::GcClock::TimePoint& TimePoint, FormatContext& ctx) const
- {
- std::time_t Time = std::chrono::system_clock::to_time_t(TimePoint);
- char TimeString[std::size("yyyy-mm-ddThh:mm:ss")];
- std::strftime(std::data(TimeString), std::size(TimeString), "%FT%T", std::localtime(&Time));
- return fmt::format_to(ctx.out(), "{}", TimeString);
- }
-};