anchor.diff:      od_share:share_guid().
   uuid_to_share_guid(FileUuid, SpaceId, undefined) ->
       uuid_to_guid(FileUuid, SpaceId);
  -uuid_to_share_guid(FileUuid, undefined, ShareId) ->
  -    <<?SHARE_GUID_PREFIX, ?GUID_SEPARATOR, FileUuid/binary,
  -        ?GUID_SEPARATOR,
  -        ?GUID_SEPARATOR, ShareId/binary
  -    >>;
   uuid_to_share_guid(FileUuid, SpaceId, ShareId) ->
  +    DefinedSpaceId = utils:ensure_defined(SpaceId, undefined, <<>>),
       <<?SHARE_GUID_PREFIX, ?GUID_SEPARATOR,  FileUuid/binary,
  -        ?GUID_SEPARATOR, SpaceId/binary,
  +        ?GUID_SEPARATOR, DefinedSpaceId/binary,
           ?GUID_SEPARATOR, ShareId/binary
       >>.
   
  
positive.code: %%--------------------------------------------------------------------
  -spec uuid_to_guid(file_meta:uuid(), od_space:id() | undefined) ->
      fslogic_worker:file_guid().
  uuid_to_guid(FileUuid, undefined) ->
      <<?GUID_PREFIX, ?GUID_SEPARATOR, FileUuid/binary, ?GUID_SEPARATOR>>;
  uuid_to_guid(FileUuid, SpaceId) ->
      <<?GUID_PREFIX, ?GUID_SEPARATOR, FileUuid/binary, ?GUID_SEPARATOR, SpaceId/binary>>.
  
  %%--------------------------------------------------------------------
  %% @doc
  
negative.code: %%--------------------------------------------------------------------
  -spec space_dir_uuid_to_spaceid_no_error(file_meta:uuid()) -> od_space:id().
  space_dir_uuid_to_spaceid_no_error(SpaceUuid) ->
      try space_dir_uuid_to_spaceid(SpaceUuid) of
          SpaceId ->
              SpaceId
      catch
          _:_ -> <<>>
      end.
  
  %%--------------------------------------------------------------------
  