CClash.DirectCompilerCacheServer.DigestCompiler C# (CSharp) Method

DigestCompiler() public method

public DigestCompiler ( string compilerPath ) : DataHash
compilerPath string
return DataHash
        public override DataHash DigestCompiler(string compilerPath)
        {
            lock (hashcache)
            {
                if (hashcache.ContainsKey(compilerPath))
                    return hashcache[compilerPath];

                var h = base.DigestCompiler(compilerPath);

                WatchFile(compilerPath);

                hashcache.Add(compilerPath, h);

                return h;
            }
        }