class file_status

Declaration

class file_status : public basic_file_status { /* full declaration omitted */ };

Description

Represents the result of a call to sys::fs::status().

Declared at: llvm/include/llvm/Support/FileSystem.h:246

Inherits from: basic_file_status

Member Variables

Inherited from basic_file_status:

protected fs_st_atime = 0
protected fs_st_mtime = 0
protected fs_st_atime_nsec = 0
protected fs_st_mtime_nsec = 0
protected fs_st_uid = 0
protected fs_st_gid = 0
protected fs_st_size = 0
protected Type = file_type::status_error
protected Perms = perms_not_known

Method Overview

  • public file_status()
  • public file_status(llvm::sys::fs::file_type Type)
  • public file_status(llvm::sys::fs::file_type Type, llvm::sys::fs::perms Perms, dev_t Dev, nlink_t Links, ino_t Ino, time_t ATime, uint32_t ATimeNSec, time_t MTime, uint32_t MTimeNSec, uid_t UID, gid_t GID, off_t Size)
  • public uint32_t getLinkCount() const
  • public llvm::sys::fs::UniqueID getUniqueID() const

Inherited from basic_file_status:

Methods

file_status()

Declared at: llvm/include/llvm/Support/FileSystem.h:261

file_status(llvm::sys::fs::file_type Type)

Declared at: llvm/include/llvm/Support/FileSystem.h:263

Parameters

llvm::sys::fs::file_type Type

file_status(llvm::sys::fs::file_type Type,
            llvm::sys::fs::perms Perms,
            dev_t Dev,
            nlink_t Links,
            ino_t Ino,
            time_t ATime,
            uint32_t ATimeNSec,
            time_t MTime,
            uint32_t MTimeNSec,
            uid_t UID,
            gid_t GID,
            off_t Size)

Declared at: llvm/include/llvm/Support/FileSystem.h:266

Parameters

llvm::sys::fs::file_type Type
llvm::sys::fs::perms Perms
dev_t Dev
nlink_t Links
ino_t Ino
time_t ATime
uint32_t ATimeNSec
time_t MTime
uint32_t MTimeNSec
uid_t UID
gid_t GID
off_t Size

uint32_t getLinkCount() const

Declared at: llvm/include/llvm/Support/FileSystem.h:288

llvm::sys::fs::UniqueID getUniqueID() const

Declared at: llvm/include/llvm/Support/FileSystem.h:287