Exemplo n.º 1
0
 public static bool IsNeedRefreshFile(string fileName, out MetaInfo metaInfo)
 {
     metaInfo = null;
     if ((_himallIO.GetType().FullName == "Himall.Strategy.OSS") && _himallIO.ExistFile(fileName))
     {
         metaInfo = _himallIO.GetFileMetaInfo(fileName);
         return(true);
     }
     return(false);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 获取文件基本信息
 /// </summary>
 /// <param name="fileName">文件名称</param>
 /// <returns></returns>
 public static MetaInfo GetFileMetaInfo(string fileName)
 {
     return(_himallIO.GetFileMetaInfo(fileName));
 }