|
|
| version 1.2, 2008/05/19 10:40:38 | version 1.4, 2017/12/07 00:55:12 |
|---|---|
| Line 14 $tList[^file:list[$sDir]] | Line 14 $tList[^file:list[$sDir]] |
| $hf[^hashfile::open[$sDir/$sName]] | $hf[^hashfile::open[$sDir/$sName]] |
| $hf2[^hashfile::open[$sDir/${sName}2]] | $hf2[^hashfile::open[$sDir/${sName}2]] |
| ^try-catch{ ^hashfile::open[$sDir/$sName] } | |
| # check hashfile files -- it mustn't exist because of delayed opened | # check hashfile files -- it mustn't exist because of delayed opened |
| ^checkFiles[$sDir;$sName] | ^checkFiles[$sDir;$sName] |
| Line 25 $hf2[^hashfile::open[$sDir/${sName}2]] | Line 25 $hf2[^hashfile::open[$sDir/${sName}2]] |
| ^fill[$hf2] | ^fill[$hf2] |
| $iSizeBefore(^getFileSize[$sDir;${sName}2]) | $iSizeBefore(^getFileSize[$sDir;${sName}2]) |
| $hf.temp[temp] | |
| ^hf.clear[] | |
| # add item with key '0' for 2 sec | # add item with key '0' for 2 sec |
| $hf.0[ | $hf.0[ |
| Line 39 $hf.0[ | Line 40 $hf.0[ |
| } | } |
| ^json:string[^hf.hash[]] | |
| <hr /> | <hr /> |
| ^checkFiles[$sDir;$sName] | ^checkFiles[$sDir;$sName] |
| Line 108 $s<br /> | Line 111 $s<br /> |
| # files must exist now | # files must exist now |
| ^checkFiles[$sDir;$sName] | ^checkFiles[$sDir;$sName] |
| @checkFiles[sDir;sName] | @checkFiles[sDir;sName] |
| ^checkFile[$sDir/${sName}.dir] | ^checkFile[$sDir/${sName}.dir] |
| ^checkFile[$sDir/${sName}.pag] | ^checkFile[$sDir/${sName}.pag] |
| @checkFile[sFileName] | @checkFile[sFileName] |
| $sFileName -- ^if(-f $sFileName){exist}{not exist}<br /> | $sFileName -- ^if(-f $sFileName){exist}{not exist}<br /> |
| @getFileSize[sDir;sName][fStat] | @getFileSize[sDir;sName][fStat] |
| $fStat[^file::stat[$sDir/${sName}.pag]] | $fStat[^file::stat[$sDir/${sName}.pag]] |
| $result($fStat.size) | $result($fStat.size) |
| @fill[hf][iCount;i] | @fill[hf][iCount;i] |
| $iCount(150) | $iCount(150) |
| ^for[i](0;$iCount){ | ^for[i](0;$iCount){ |