示例#1
0
        public AlwaysExcludeFile(GVFSContext context, string virtualAlwaysExcludeFilePath)
        {
            this.entries         = new HashSet <string>(StringComparer.OrdinalIgnoreCase);
            this.entriesToRemove = new HashSet <string>(StringComparer.OrdinalIgnoreCase);

            this.fileSerializer = new FileSerializer(context, virtualAlwaysExcludeFilePath);
            this.context        = context;
        }
示例#2
0
        public SparseCheckoutAndDoNotProject(GVFSContext context, string virtualSparseCheckoutFilePath, string databaseName)
        {
            this.sparseCheckoutEntries    = new ConcurrentHashSet <string>(StringComparer.OrdinalIgnoreCase);
            this.sparseCheckoutSerializer = new FileSerializer(context, virtualSparseCheckoutFilePath);

            this.additionalDoNotProject = new PersistentDictionary <string, bool>(
                Path.Combine(context.Enlistment.DotGVFSRoot, databaseName));
            this.context = context;
        }
示例#3
0
 public SparseCheckout(GVFSContext context, string virtualSparseCheckoutFilePath)
 {
     this.sparseCheckoutEntries    = new ConcurrentHashSet <string>(StringComparer.OrdinalIgnoreCase);
     this.sparseCheckoutSerializer = new FileSerializer(context, virtualSparseCheckoutFilePath);
     this.context = context;
 }