You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
549 B
23 lines
549 B
using System.IO;
|
|
|
|
namespace learun.util
|
|
{
|
|
/// <summary>
|
|
/// 版 本 EasyCode EC管理后台
|
|
/// Copyright (c) 2019-present EC管理有限公司
|
|
/// 创建人:tobin
|
|
/// 日 期:2019.09.02
|
|
/// 描 述:文件夹,文件操作类
|
|
/// </summary>
|
|
public static class DirFileHelper
|
|
{
|
|
/// <summary>
|
|
/// 检测指定文件是否存在,如果存在则返回true。
|
|
/// </summary>
|
|
/// <param name="filePath">文件的绝对路径</param>
|
|
public static bool IsExistFile(string filePath)
|
|
{
|
|
return File.Exists(filePath);
|
|
}
|
|
}
|
|
}
|