anchor.diff:  %% Returns file's Uuid for given file's Guid.
   %% @end
   %%--------------------------------------------------------------------
  --spec guid_to_uuid(fslogic_worker:file_guid()) -> file_meta:uuid().
  +-spec guid_to_uuid(file_guid()) -> file_meta_uuid().
   guid_to_uuid(FileGuid) ->
       {FileUuid, _} = unpack_guid(FileGuid),
       FileUuid.
  
positive.code: %% Returns file's Uuid, its spaceId and its shareId for given file's share Guid.
  %% @end
  %%--------------------------------------------------------------------
  -spec unpack_share_guid(od_share:share_guid()) ->
      {file_meta:uuid(), undefined | od_space:id(), od_share:id() | undefined}.
  unpack_share_guid(ShareGuid) ->
      try binary:split(http_utils:base64url_decode(ShareGuid), <<?GUID_SEPARATOR>>, [global]) of
          [<<?SHARE_GUID_PREFIX>>, FileUuid, SpaceId, ShareId] ->
  
negative.code:     end.
  
  
  %%-------------------------------------------:-------------------------
  %% @doc
  %% Returns file's Uuid and its SpaceId for given file's Guid.
  %% @end
  %%--------------------------------------------------------------------
  -spec unpack_guid(FileGuid :: file_guid()) ->
      {file_meta_uuid(), space_id() | undefined}.
  unpack_guid(FileGuid) ->
      {FileUuid, SpaceId, _ShareId} = unpack_share_guid(FileGuid),
      {FileUuid, SpaceId}.
  