anchor.diff:  %% @end
   %%--------------------------------------------------------------------
   -spec get_share_id_const(ctx()) -> od_share:id() | undefined.
  -get_share_id_const(#file_ctx{guid = Guid}) ->
  -    {_FileUuid, _SpaceId, ShareId} = file_id:unpack_share_guid(Guid),
  +get_share_id_const(#file_ctx{share_id = ShareId}) ->
       ShareId.
   
   %%--------------------------------------------------------------------
  
positive.code: -spec new_by_doc(file_meta:doc(), od_space:id(), undefined | od_share:id()) -> ctx().
  new_by_doc(Doc = #document{key = Uuid, value = #file_meta{}}, SpaceId, ShareId) ->
      Guid = file_id:pack_share_guid(Uuid, SpaceId, ShareId),
      #file_ctx{file_doc = Doc, guid = Guid, uuid = Uuid, space_id = SpaceId}.
  
  %%--------------------------------------------------------------------
  %% @doc
  
negative.code:     uuid_based_path :: undefined | file_meta:uuid_based_path(),
      guid :: fslogic_worker:file_guid(),
      uuid :: file_meta:uuid(),
      share_id :: undefined | od_share:id(),
      space_id :: od_space:id(),
      file_doc :: undefined | file_meta:doc(),
      parent :: undefined | ctx(),
  