class InMemoryNode

Declaration

class InMemoryNode { /* full declaration omitted */ };

Description

The in memory file system is a tree of Nodes. Every node can either be a file , hardlink or a directory.

Declared at: llvm/lib/Support/VirtualFileSystem.cpp:532

Method Overview

  • public InMemoryNode(llvm::StringRef FileName, llvm::vfs::detail::InMemoryNodeKind Kind)
  • public llvm::StringRef getFileName() const
  • public llvm::vfs::detail::InMemoryNodeKind getKind() const
  • public virtual std::string toString(unsigned int Indent) const
  • public virtual ~InMemoryNode()

Methods

InMemoryNode(
    llvm::StringRef FileName,
    llvm::vfs::detail::InMemoryNodeKind Kind)

Declared at: llvm/lib/Support/VirtualFileSystem.cpp:537

Parameters

llvm::StringRef FileName
llvm::vfs::detail::InMemoryNodeKind Kind

llvm::StringRef getFileName() const

Description

Get the filename of this node (the name without the directory part).

Declared at: llvm/lib/Support/VirtualFileSystem.cpp:542

llvm::vfs::detail::InMemoryNodeKind getKind()
    const

Declared at: llvm/lib/Support/VirtualFileSystem.cpp:543

virtual std::string toString(
    unsigned int Indent) const

Declared at: llvm/lib/Support/VirtualFileSystem.cpp:544

Parameters

unsigned int Indent

virtual ~InMemoryNode()

Declared at: llvm/lib/Support/VirtualFileSystem.cpp:539