Skip to content
Discussion options

You must be logged in to vote

Hi,

yes this has been encapsulated a bit in v15, but you can see from the StartupImportAsync method.

 public async Task<IEnumerable<uSyncAction>> StartupImportAsync(string[] folders, bool force, SyncHandlerOptions handlerOptions, uSyncCallbacks? callbacks = null)
    {
        handlerOptions ??= new SyncHandlerOptions();
        handlerOptions.Action = HandlerActions.Import;
        var handlers = _handlerFactory.GetValidHandlers(handlerOptions);

        var changes = await ImportAsync(folders, force, handlers, handlerOptions, callbacks);

        // on first boot, we refresh the snapshot cache if we have imported any content 
        // just because it seems not to refresh as part of th…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@D0LBA3B
Comment options

Answer selected by D0LBA3B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants