DropboxHelper
public static class DropboxHelper
1. Methods
1.1. GetRemoteSourceFileProvider(IServiceProvider)
public static IFileProvider GetRemoteSourceFileProvider(this IServiceProvider services)
| Name | Type | Description |
|---|---|---|
services |
IServiceProvider |
Returns: IFileProvider
1.2. GetRemoteSourceUploadOperator(ILogger)
Writable operator over the local osisa Dropbox sync folder’s NETSetup/BOOT tree - the same remote-source target the image/driver/config uploads write into. EnsureNoDiff-ing a local staging folder into this operator’s Config/ publishes config JSON + MapFiles to the remote source. The read-only NETSetup.Helpers.DropboxHelper.GetRemoteSourceFileProvider(IServiceProvider) (Dropbox API) cannot be written to, so the upload path uses the locally synced folder instead.
public static IFileOperator GetRemoteSourceUploadOperator(ILogger logger)
| Name | Type | Description |
|---|---|---|
logger |
ILogger |
Returns: IFileOperator
1.3. GetUserProfileDropboxFolder()
Resolves the local Dropbox root that mirrors the team space.
public static AbsolutePath GetUserProfileDropboxFolder()
Returns: AbsolutePath — The synced Dropbox root folder.