コード例 #1
0
ファイル: PVFSlib.cs プロジェクト: liqinliqin/esp8266web
 /// <summary>
 /// Creates a new PVFS2 image builder
 /// </summary>
 /// <param name="localPath">The directory to save the image in, and to read/write index files</param>
 /// <param name="localFile">The output file name for the image</param>
 public PVFS2Builder(String localPath, String localFile)
 {
     if (!localPath.EndsWith("\\"))
         localPath += "\\";
     this.LocalPath = localPath;
     this.LocalFile = localFile;
     this.dynamicTypes = new Collection<string>();
     this.nonGZipTypes = new Collection<string>();
     this.log = new List<string>();
     this.files = new List<PVFSFileRecord>();
     this.dynVarParser = new DynamicVariableParser(localPath);
     this.indexUpdated = false;
 }
コード例 #2
0
ファイル: PVFSlib.cs プロジェクト: georgkreimer/esp8266web
 /// <summary>
 /// Creates a new PVFS2 image builder
 /// </summary>
 /// <param name="localPath">The directory to save the image in, and to read/write index files</param>
 /// <param name="localFile">The output file name for the image</param>
 public PVFS2Builder(String localPath, String localFile)
 {
     if (!localPath.EndsWith("\\"))
     {
         localPath += "\\";
     }
     this.LocalPath    = localPath;
     this.LocalFile    = localFile;
     this.dynamicTypes = new Collection <string>();
     this.nonGZipTypes = new Collection <string>();
     this.log          = new List <string>();
     this.files        = new List <PVFSFileRecord>();
     this.dynVarParser = new DynamicVariableParser(localPath);
     this.indexUpdated = false;
 }