---
name: "shevek_dir_file"
section: "3"
platform: "linux"
package: "libshevek-doc"
version: "1.4-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/shevek_dir_file"
---

# shevek\_dir\_file(3)

Information about a single file in a directory.

## NAME

shevek::dir::file -

Information about a single file in a directory.

## SYNOPSIS

`#include <dir.hh>`

### Public Member Functions

bool **operator\<** (**file** const &that) const \
 *Sorting operator, needed for putting them in a std::set.*

### Public Attributes

std::string **name**\
 *The name of the file.*  bool **is\_dir**\
 *Whether it is a directory.*  uid\_t **uid**\
 *The user-ID of the file.*  gid\_t **gid**\
 *The group-ID of the file.*  off\_t **size**\
 *The size of the file.*

## Detailed Description

Information about a single file in a directory.

## Author

Generated automatically by Doxygen for libshevek from the source code.
