Skip to content

Commit 22947b3

Browse files
format
1 parent 00859e1 commit 22947b3

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

src/squashfs-mount/rootless.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@ util::expected<void, std::string> do_sqfs_mount(const uenv::mount_pair&);
1515

1616
util::expected<void, std::string> make_mutable_root();
1717

18-
1918
} // namespace uenv

src/squashfs-mount/squashfs-mount-rootless.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include "squashfs-mount/rootless.h"
21
#include <filesystem>
32
#include <ranges>
3+
#include <squashfs-mount/rootless.h>
44
#include <string>
55
#include <vector>
66

@@ -145,15 +145,15 @@ int main(int argc, char** argv, char** envp) {
145145
if (!bind_mounts) {
146146
auto err = bind_mounts.error();
147147
error_and_exit("failed to parse tmpfs msg=`{}` detail=`{}` "
148-
"description=`{}`, input=`{}`",
149-
err.message(), err.detail, err.description, err.input);
148+
"description=`{}`, input=`{}`",
149+
err.message(), err.detail, err.description, err.input);
150150
}
151151
for (auto entry : bind_mounts.value()) {
152-
if(mutable_root) {
152+
if (mutable_root) {
153153
fs::create_directories(entry.dst);
154154
}
155155
auto r = uenv::bind_mount(entry.src, entry.dst);
156-
if(!r) {
156+
if (!r) {
157157
error_and_exit("bindmount failed {}", r.error());
158158
}
159159
}

src/uenv/parse.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ parse_tmpfs(const std::vector<std::string>& args);
5757
util::expected<std::vector<bindmount_description>, parse_error>
5858
parse_bindmounts(const std::vector<std::string>& args);
5959

60-
util::expected<uenv_date, parse_error> parse_uenv_date(
61-
const std::string& arg);
60+
util::expected<uenv_date, parse_error> parse_uenv_date(const std::string& arg);
6261

6362
util::expected<std::string, parse_error> parse_path(const std::string& in);
6463

0 commit comments

Comments
 (0)