From f10028573b6159e451e127eda9eb17b57f113635 Mon Sep 17 00:00:00 2001 From: PhilipDeegan Date: Wed, 18 Nov 2026 17:49:00 +0100 Subject: [PATCH] io::Writer takes paths, kul::fs is kul::fsys mkn.kul deprecated io::Writer(kul::File) (mkn/mkn.kul#115), the write passes .full(). mkn::kul::fs is renamed fsys (mkn/mkn.kul#116), needs that merged. --- mod.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod.cpp b/mod.cpp index f8fe968..9a8a1a9 100644 --- a/mod.cpp +++ b/mod.cpp @@ -255,7 +255,7 @@ class Module : public mkn::mod::Module { if (node["paths"]) { for (auto const& path : kul::cli::asArgs(node["paths"].Scalar())) { kul::Dir d(path); - if (!d) KEXCEPT(kul::fs::Exception, "Directory does not exist: ", d.path()); + if (!d) KEXCEPT(kul::fsys::Exception, "Directory does not exist: ", d.path()); for (auto const& file : d.files(1)) if (types.count(extension(file.name()))) files.insert(file.real()); } @@ -278,7 +278,7 @@ class Module : public mkn::mod::Module { kul::Dir dir(buildDir); dir.mk(); kul::File iwyu_out("iwyu.out", dir); - kul::io::Writer(iwyu_out) << out; + kul::io::Writer(iwyu_out.full()) << out; bool const system_last = node["system_last"] && node["system_last"].Scalar() == "true"; std::map before;