Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

remove the fullSync option from updateChildEntry #45

Merged
merged 2 commits into from
Dec 27, 2018

Commits on Dec 21, 2018

  1. remove the fullSync option from updateChildEntry

    Make `updateChildEntry` always propagate the update all the way up to the root,
    the equivalent of calling it always with `fullSync` set.
    
    The case of calling it without setting `fullSync` (a kind of "half-update")
    where only the parent's directory UnixFS node was updated (but nothing else,
    leaving the root outdated) seemed of little used. This helps to simplify the
    logic around the update mechanism in MFS.
    schomatis committed Dec 21, 2018
    Configuration menu
    Copy the full SHA
    1bbc52d View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2018

  1. merge closeChildUpdate with flushCurrentNode

    Without the `sync` logic (now removed) the code is simplified for these tightly
    coupled methods (the first one was the only caller of the second) to be merged
    in a single `localUpdate` method.
    schomatis committed Dec 22, 2018
    Configuration menu
    Copy the full SHA
    8d26210 View commit details
    Browse the repository at this point in the history