简介
本文档提供关于检查文件状态的 API 概览以及 SDK 示例代码。
API | 操作描述 |
检查文件状态 |
检查文件状态
功能说明
用于检查文件状态。
示例代码
//目标文件名val targetName = "targetName"//目标文件夹val targetDir = Directory()try {val headFileContent: HeadFileContent = smh.headFile(name = targetName,dir = targetDir)} catch (e: Exception) {e.printStackTrace()}