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 IFileSystem2

interface IFileSystem2
Extends IFileSystem Extended file system interface (V2) with additional utility methods. Inherits all methods from IFileSystem and adds new capabilities. Use TryQueryInterface to check if the implementation supports this interface.

Methods

exists()

bool exists(string path)
Checks if a file or directory exists at the given path.

Parameters

path
string — Required The path to check.

Returns

bool true if a file or directory exists at the path, false otherwise.
Last modified on October 22, 2026