mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Set path and phash for ignored files
This commit is contained in:
parent
6cee3f49bc
commit
aa390dd17e
@ -223,11 +223,12 @@ out:
|
||||
if( fs->md5 ) {
|
||||
st->md5 = c_strdup(fs->md5);
|
||||
}
|
||||
|
||||
fastout: /* target if the file information is read from database into st */
|
||||
st->phash = h;
|
||||
st->pathlen = len;
|
||||
memcpy(st->path, (len ? path : ""), len + 1);
|
||||
|
||||
fastout: /* target if the file information is read from database into st */
|
||||
switch (ctx->current) {
|
||||
case LOCAL_REPLICA:
|
||||
if (c_rbtree_insert(ctx->local.tree, (void *) st) < 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user