JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::DirectoryContentsList::FileInfo Struct Reference

Contains cached information about one of the files in a DirectoryContentsList. More...

#include <juce_DirectoryContentsList.h>

Collaboration diagram for juce::DirectoryContentsList::FileInfo:

Public Attributes

Time creationTime
 File creation time. More...
 
String filename
 The filename. More...
 
int64 fileSize
 File size in bytes. More...
 
bool isDirectory
 True if the file is a directory. More...
 
bool isReadOnly
 True if the file is read-only. More...
 
Time modificationTime
 File modification time. More...
 

Detailed Description

Contains cached information about one of the files in a DirectoryContentsList.

Member Data Documentation

◆ creationTime

Time juce::DirectoryContentsList::FileInfo::creationTime

File creation time.

As supplied by File::getCreationTime().

◆ filename

String juce::DirectoryContentsList::FileInfo::filename

The filename.

This isn't a full pathname, it's just the last part of the path, same as you'd get from File::getFileName().

To get the full pathname, use DirectoryContentsList::getDirectory().getChildFile (filename).

◆ fileSize

int64 juce::DirectoryContentsList::FileInfo::fileSize

File size in bytes.

◆ isDirectory

bool juce::DirectoryContentsList::FileInfo::isDirectory

True if the file is a directory.

◆ isReadOnly

bool juce::DirectoryContentsList::FileInfo::isReadOnly

True if the file is read-only.

◆ modificationTime

Time juce::DirectoryContentsList::FileInfo::modificationTime

File modification time.

As supplied by File::getLastModificationTime().


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