不确定 PRJ_FILE_STATE_HYDRATED_PLACEHOLDER 文档的含义
Not sure what PRJ_FILE_STATE_HYDRATED_PLACEHOLDER documentation means
我开始使用 Projected File system,但我不确定我是否正确阅读了文档。 PRJ_FILE_STATE_HYDRATED_PLACEHOLDER
。
说
The item is a hydrated placeholder, i.e., the item's content has been written to disk.
对我来说,这听起来像是文件内容(不是元数据)被写入磁盘。
然而,还有 PRJ_FILE_STATE_FULL
听起来也像是缓存了完整的数据(元数据 + 文件内容)。
我认为 PRJ_FILE_STATE_HYDRATED_PLACEHOLDER
实际上意味着
[...] the item's metadata has been written to dist.
有人可以证实吗?
我在 documentation 中找到了更详细的另一部分:
Hydrated placeholder
For files: The file’s content and metadata have been cached to the disk. Also referred to as a "partial file".
For directories: A directory that was created on disk as a placeholder never becomes a hydrated placeholder directory. This allows the provider to add or remove items from the directory in its backing store and have those changes be reflected in the local cache.
我开始使用 Projected File system,但我不确定我是否正确阅读了文档。 PRJ_FILE_STATE_HYDRATED_PLACEHOLDER
。
说
The item is a hydrated placeholder, i.e., the item's content has been written to disk.
对我来说,这听起来像是文件内容(不是元数据)被写入磁盘。
然而,还有 PRJ_FILE_STATE_FULL
听起来也像是缓存了完整的数据(元数据 + 文件内容)。
我认为 PRJ_FILE_STATE_HYDRATED_PLACEHOLDER
实际上意味着
[...] the item's metadata has been written to dist.
有人可以证实吗?
我在 documentation 中找到了更详细的另一部分:
Hydrated placeholder
For files: The file’s content and metadata have been cached to the disk. Also referred to as a "partial file".
For directories: A directory that was created on disk as a placeholder never becomes a hydrated placeholder directory. This allows the provider to add or remove items from the directory in its backing store and have those changes be reflected in the local cache.