+ if (inode->type == BLUESKY_REGULAR) {
+ for (int i = 0; i < inode->blocks->len; i++) {
+ BlueSkyBlock *b = &g_array_index(inode->blocks, BlueSkyBlock, i);
+ if (b->type == BLUESKY_BLOCK_CACHED
+ || b->type == BLUESKY_BLOCK_REF)
+ {
+ BlueSkyCloudID id = bluesky_cloudlog_id_from_string(b->ref);
+ g_array_append_val(cloudlog->pointers, id);
+ }
+ }
+ }
+