anchor.diff:  %%%-------------------------------------------------------------------
   %%% @doc
   %%% Utility functions operating on files used in ct tests.
  +%%%
  +%%% FUTURE IMPROVEMENTS:
  +%%% 1) flag to ensure files are created on storage
  +%%% 2) fill file with random content and await file location sync
   %%% @end
   %%%-------------------------------------------------------------------
   -module(onenv_file_test_utils).
  
positive.code: await_sync(SyncProviders, UserId, #object{type = ?REGULAR_FILE_TYPE} = Object) ->
      await_file_attr_sync(SyncProviders, UserId, Object);
  
  await_sync(SyncProviders, UserId, #object{type = ?DIRECTORY_TYPE} = Object) ->
      await_file_attr_sync(SyncProviders, UserId, Object#object{children = undefined}).
  
  
  %% @private
  
negative.code:     [CreationProvider | SyncProviders] = oct_background:get_space_supporting_providers(
          SpaceId
      ),
  
      FileInfo = create_file_tree(UserId, ParentGuid, CreationProvider, FileDesc),
      await_sync(SyncProviders, UserId, FileInfo),
  
      FileInfo.
  
  
  %%%===================================================================
  