/// <summary> /// Encoding that is used for encoding / decoding filenames only /// </summary> //public Encoding FilenameEncoding //{ // get; // set; //} /// <summary> /// Construct a Git index representation. /// </summary> /// <param name="db"> </param> public GitIndex(Repository db) { //FilenameEncoding = Constants.CHARSET; // defaults to UTF8 actually _entries = new SortedDictionary <byte[], Entry>(new ByteVectorComparer()); Repository = db; _cacheFile = db.getIndexFile(); }