code: function FileGetState($NameOrIdx) {
  
  		$idx = $this->FileGetIdx($NameOrIdx);
  		if ($idx===false) {
  			$idx = $this->FileGetIdxAdd($NameOrIdx);
  			if ($idx===false) {
  				return false;
  			} else {
  				return 'a';
  			}
  		} elseif (isset($this->ReplInfo[$idx])) {
  			if ($this->ReplInfo[$idx]===false) {
  				return 'd';
  			} else {
  				return 'm';
  			}
  		} else {
  			return 'u';
  		}
  
  	}
docs: Return the state of the file.
  @return {string} 'u'=unchanged, 'm'=modified, 'd'=deleted, 'a'=added, false=unknown