mirror of https://github.com/trapexit/mergerfs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
306 B
25 lines
306 B
#pragma once
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include <cstring>
|
|
|
|
namespace fs
|
|
{
|
|
struct dirent64
|
|
{
|
|
public:
|
|
uint64_t ino;
|
|
int64_t off;
|
|
uint16_t reclen;
|
|
uint8_t type;
|
|
char name[];
|
|
|
|
public:
|
|
size_t
|
|
namelen() const
|
|
{
|
|
return ::strlen(name);
|
|
}
|
|
};
|
|
}
|