• Natanael Copa's avatar
    db: optionally remove dirs when unref · 5c4583a9
    Natanael Copa authored
    We want remove dirs when they are unreferenced so we remove all dirs on
    apk del, but we don't want remove dirs when closing database. So we make
    removing dir optional when unreferencing it.
    
    This partially reverts commit c7ffc96a.
    
    fixes #406
    5c4583a9
database.c 54.6 KB