AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Functions
alexaClientSDK::avsCommon::utils::file Namespace Reference

Functions

bool fileExists (const std::string &filePath)
 
bool removeFile (const std::string &filePath)
 

Function Documentation

◆ fileExists()

bool alexaClientSDK::avsCommon::utils::file::fileExists ( const std::string &  filePath)

A small utility function to help determine if a file exists.

Parameters
filePathThe path to the file being queried about.
Returns
Whether the file exists and is accessible.

◆ removeFile()

bool alexaClientSDK::avsCommon::utils::file::removeFile ( const std::string &  filePath)

A utility function to delete a file.

Parameters
filePathThe path to the file being deleted.
Returns
Whether the file was deleted ok.

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0