private FileStruct ParseFileStructFromUnixStyleRecord(string Record) { FileStruct struct2 = new FileStruct(); string s = Record.Trim(); struct2.Flags = s.Substring(0, 10); struct2.IsDirectory = struct2.Flags[0] == 'd'; s = s.Substring(11).Trim(); this._cutSubstringFromStringWithTrim(ref s, ' ', 0); struct2.Owner = this._cutSubstringFromStringWithTrim(ref s, ' ', 0); struct2.Group = this._cutSubstringFromStringWithTrim(ref s, ' ', 0); this._cutSubstringFromStringWithTrim(ref s, ' ', 0); string oldValue = s.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)[2]; if (oldValue.IndexOf(":") >= 0) { s = s.Replace(oldValue, DateTime.Now.Year.ToString()); } struct2.CreateTime = DateTime.Parse(this._cutSubstringFromStringWithTrim(ref s, ' ', 8)); struct2.Name = s; return(struct2); }