예제 #1
0
 private void SetComputedPaths()
 {
     this.NamedPipeName = EnlistmentUtils.GetNamedPipeName(this.EnlistmentRoot);
     this.DotGVFSRoot   = Path.Combine(this.EnlistmentRoot, GVFSConstants.DotGVFSPath);
     this.GVFSLogsRoot  = Path.Combine(this.DotGVFSRoot, GVFSConstants.GVFSLogFolderName);
     /* TODO: Story 957530 Remove code using GVFS_HEAD with next breaking change. */
     this.GVFSHeadFile = Path.Combine(this.DotGVFSRoot, GVFSConstants.GVFSHeadCommitName);
 }
예제 #2
0
        public static string GetMutexName(string enlistmentRoot)
        {
            string pipeName = EnlistmentUtils.GetNamedPipeName(enlistmentRoot);

            return("Global\\" + pipeName.Replace('\\', ':'));
        }
예제 #3
0
 private void SetComputedPaths()
 {
     this.NamedPipeName = EnlistmentUtils.GetNamedPipeName(this.EnlistmentRoot);
     this.DotGVFSRoot   = Path.Combine(this.EnlistmentRoot, GVFSConstants.DotGVFSPath);
     this.GVFSLogsRoot  = Path.Combine(this.DotGVFSRoot, GVFSConstants.GVFSLogFolderName);
 }