GitSharp.Core.DirectoryCache.DirCache.IsDIRC C# (CSharp) Method

IsDIRC() private static method

private static IsDIRC ( byte header ) : bool
header byte
return bool
		private static bool IsDIRC(byte[] header)
		{
			if (header.Length < SigDirc.Length)
			{
				return false;
			}

			for (int i = 0; i < SigDirc.Length; i++)
			{
				if (header[i] != SigDirc[i]) return false;
			}

			return true;
		}