Cydin.Models.SourceTag.GetFilePath C# (CSharp) Method

GetFilePath() public method

public GetFilePath ( string platform ) : string
platform string
return string
        public string GetFilePath(string platform)
        {
            string path = Path.Combine (PackagesPath, platform + ".mpack");
            if (File.Exists (path))
                return path;
            else
                return Path.Combine (PackagesPath, "All.mpack");
        }