mirror of
https://gitee.com/openharmony/filemanagement_storage_service
synced 2024-11-27 09:10:33 +00:00
update services/storage_manager/kits_impl/src/volumemanager_n_exporter.cpp.
Signed-off-by: sunxiaoqiang <sunxiaoqiang7@huawei.com>
This commit is contained in:
parent
5c5ba5dfe4
commit
b16cabce09
@ -232,6 +232,7 @@ napi_value GetVolumeByUuid(napi_env env, napi_callback_info info)
|
||||
volumeObject.AddProp("state", NVal::CreateInt32(env, volumeInfo->GetState()).val_);
|
||||
volumeObject.AddProp("path", NVal::CreateUTF8String(env, volumeInfo->GetPath()).val_);
|
||||
volumeObject.AddProp("fsType", NVal::CreateUTF8String(env, volumeInfo->GetFsTypeString()).val_);
|
||||
volumeObject.AddProp("flags", NVal::CreateInt32(env, volumeInfo->GetFlags()).val_);
|
||||
return volumeObject;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user