Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IDirEntry

interface IDirEntry
Extends com.amazon.apmf.IStandard Represents an entry in a directory.

Methods

getMetadata()

Metadata getMetadata(bool noFollow)
Gets metadata about the file or symbolic link referred to by path.

Parameters

noFollow
bool — Required defines whether stat or lstat is used.

Returns

Metadata The metadata object containing details about the file.

getName()

string getName()
Gets the name of the file or directory.

Returns

string The name of the file or directory as a string.
Last modified on October 22, 2026