Skip to content

Relevance of fault in DelayedDeletable / markForLocalDeletion() #21

Open

Description

@timarnold

I've got a question about DelayedDeletable and two-step deletion from the book.

In markForLocalDeletion(), the first line of the method is:

guard fault || markedForDeletionDate == nil else { return }

I'm not sure why the value of fault matters here, and I can't find any explanations in the book.

Activity

  1. timarnold commented on Jun 30, 2016

    @timarnold
    Author

    Any thoughts on this question?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions