TileCook.DiskCache.buildPath C# (CSharp) Method

buildPath() private method

private buildPath ( Coord coord, string format ) : string
coord Coord
format string
return string
        private string buildPath(Coord coord, string format)
        {
            string filename = coord.Y.ToString() + "." + format;
            string path = Path.Combine(
                this._cacheDirectory,
                coord.Z.ToString(),
                coord.Z.ToString(),
                filename
            );
            return path;
        }