LLVM  15.0.0git
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
llvm::vfs::RedirectingFileSystem::RemapEntry Class Reference

A file or directory in the vfs that is mapped to a file or directory in the external filesystem. More...

#include "llvm/Support/VirtualFileSystem.h"

Inheritance diagram for llvm::vfs::RedirectingFileSystem::RemapEntry:
Inheritance graph
[legend]
Collaboration diagram for llvm::vfs::RedirectingFileSystem::RemapEntry:
Collaboration graph
[legend]

Public Member Functions

StringRef getExternalContentsPath () const
 
bool useExternalName (bool GlobalUseExternalName) const
 Whether to use the external path as the name for this file or directory. More...
 
NameKind getUseName () const
 
- Public Member Functions inherited from llvm::vfs::RedirectingFileSystem::Entry
 Entry (EntryKind K, StringRef Name)
 
virtual ~Entry ()=default
 
StringRef getName () const
 
EntryKind getKind () const
 

Static Public Member Functions

static bool classof (const Entry *E)
 

Protected Member Functions

 RemapEntry (EntryKind K, StringRef Name, StringRef ExternalContentsPath, NameKind UseName)
 

Detailed Description

A file or directory in the vfs that is mapped to a file or directory in the external filesystem.

Definition at line 755 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ RemapEntry()

llvm::vfs::RedirectingFileSystem::RemapEntry::RemapEntry ( EntryKind  K,
StringRef  Name,
StringRef  ExternalContentsPath,
NameKind  UseName 
)
inlineprotected

Definition at line 760 of file VirtualFileSystem.h.

Member Function Documentation

◆ classof()

static bool llvm::vfs::RedirectingFileSystem::RemapEntry::classof ( const Entry E)
inlinestatic

◆ getExternalContentsPath()

StringRef llvm::vfs::RedirectingFileSystem::RemapEntry::getExternalContentsPath ( ) const
inline

Definition at line 766 of file VirtualFileSystem.h.

◆ getUseName()

NameKind llvm::vfs::RedirectingFileSystem::RemapEntry::getUseName ( ) const
inline

Definition at line 774 of file VirtualFileSystem.h.

◆ useExternalName()

bool llvm::vfs::RedirectingFileSystem::RemapEntry::useExternalName ( bool  GlobalUseExternalName) const
inline

Whether to use the external path as the name for this file or directory.

Definition at line 769 of file VirtualFileSystem.h.

References llvm::vfs::RedirectingFileSystem::NK_External, and llvm::vfs::RedirectingFileSystem::NK_NotSet.


The documentation for this class was generated from the following file: