IFilesystemProvider interface¶
Defined in
Namespace: Akavache
Assembly: Akavache.Core.dll
Full name: Akavache.IFilesystemProvider
Modifiers: public abstract
Summary¶
An abstraction for the simple file operations that an IBlobCache can
perform. Create a new instance of this when adapting IBlobCache to
different platforms or backing stores, or for testing purposes.
Applies to
net9.0, net9.0-maccatalyst18.0, net9.0-macos15.0, net9.0-tvos18.0, net9.0-android35.0, net9.0-ios18.0, net8.0, net8.0-android34.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-tvos17.2, netstandard2.1, netstandard2.0
Methods¶
| Name | Summary |
|---|---|
| OpenFileForReadAsync | Open a file on a background thread, with the File object in 'async mode'. It is critical that this operation is deferred and returns immediately (i.e. wrapped in an... |
| OpenFileForWriteAsync | Open a file on a background thread, with the File object in 'async mode'. It is critical that this operation is deferred and returns immediately (i.e. wrapped in an... |
| CreateRecursive | Create a directory and its parents. If the directory already exists, this method does nothing (i.e. it does not throw if a directory exists). |
| Delete | Deletes a file. |
| GetDefaultLocalMachineCacheDirectory | Gets the default local machine cache directory (i.e. the one for temporary data). |
| GetDefaultRoamingCacheDirectory | Gets the default roaming cache directory (i.e. the one for user settings). |
| GetDefaultSecretCacheDirectory | Gets the default roaming cache directory (i.e. the one for user settings). |