Skip to content
Snippets Groups Projects
  • regnat's avatar
    7e5c79a2
    Forbid the `name` attribute for fetchTree · 7e5c79a2
    regnat authored
    We need to support it for the “old” fetch* functions for backwards
    compatibility, but we don’t need it for fetchTree (as it’s a new
    function).
    Given that changing the `name` messes-up the content hashing, we can
    just forbid passing a custom `name` argument to it
    7e5c79a2
    History
    Forbid the `name` attribute for fetchTree
    regnat authored
    We need to support it for the “old” fetch* functions for backwards
    compatibility, but we don’t need it for fetchTree (as it’s a new
    function).
    Given that changing the `name` messes-up the content hashing, we can
    just forbid passing a custom `name` argument to it