rmapi-js
    Preparing search index...

    Class MetadataEdit

    an item's .metadata to edit, written back as another device would by put

    Index
    • write the .metadata back, moving the generation, and give the hash of the item's new index

      Returns string

    • set whether the item is deleted

      Parameters

      • deleted: boolean

      Returns this

    • set when the item last changed

      Parameters

      • at: Date

      Returns this

    • set the name shown on the device

      Parameters

      • name: string

      Returns this

    • set where the item lives: "" for the root, "trash", or a folder's id

      Parameters

      • parent: string

      Returns this

    • set whether the item is starred

      Parameters

      • starred: boolean

      Returns this