Revision 3906933e trunk/Pithos.Core/Agents/StateTuple.cs

b/trunk/Pithos.Core/Agents/StateTuple.cs
11 11
    {
12 12
        public string FilePath { get; private set; }
13 13

  
14
        public string MD5
15
        {
16
            get
17
            {
18
                Debug.Assert(EmptyOrLength(_md5, 32));
19
                return _md5;
20
            }
21
            set
22
            {
23
                if (!EmptyOrLength(value, 32))
24
                    throw new ArgumentException("A proper MD5 hash value should have 32 characters");
25
                _md5 = value;
26
            }
27
        }
14
        //public string MD5
15
        //{
16
        //    get
17
        //    {
18
        //        Debug.Assert(EmptyOrLength(_md5, 32));
19
        //        return _md5;
20
        //    }
21
        //    set
22
        //    {
23
        //        if (!EmptyOrLength(value, 32))
24
        //            throw new ArgumentException("A proper MD5 hash value should have 32 characters");
25
        //        _md5 = value;
26
        //    }
27
        //}
28 28

  
29 29
        private bool EmptyOrLength(string value, int length)
30 30
        {
......
79 79

  
80 80
        private FileSystemInfo _fileInfo;
81 81
        private TreeHash _merkle;
82
        private string _md5;
82
        //private string _md5;
83 83

  
84 84
        public FileSystemInfo FileInfo
85 85
        {
......
110 110

  
111 111
        public string NewFullPath { get; set; }
112 112

  
113
        public string OldMD5 { get; set; }
113
        public string OldChecksum { get; set; }
114 114

  
115 115
        public string OldFullPath { get; set; }
116 116

  

Also available in: Unified diff