mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-12 13:59:46 -04:00
fix(metadata_v2): remove useless cast
This commit is contained in:
parent
418e35bede
commit
f7a91bc75d
@ -1267,7 +1267,7 @@ nlohmann::json metadata_v2_data::as_json(dir_entry_view const& entry) const {
|
||||
obj["inode"] = inode;
|
||||
|
||||
if (inode > 0) {
|
||||
obj["name"] = std::string(entry.name());
|
||||
obj["name"] = entry.name();
|
||||
}
|
||||
|
||||
switch (posix_file_type::from_mode(mode)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user