18 references to Utilities
Microsoft.DotNet.MacOsPkg (18)
Package.cs (8)
18string? distribution = Utilities.FindInPath("Distribution", dstPath, isDirectory: false, searchOption: SearchOption.TopDirectoryOnly); 25string? packageInfo = Utilities.FindInPath("PackageInfo", dstPath, isDirectory: false, searchOption: SearchOption.TopDirectoryOnly); 37string? distribution = Utilities.FindInPath("Distribution", srcPath, isDirectory: false, searchOption: SearchOption.TopDirectoryOnly); 44string? packageInfo = Utilities.FindInPath("PackageInfo", srcPath, isDirectory: false, searchOption: SearchOption.TopDirectoryOnly); 100string? resources = Utilities.FindInPath("Resources", srcPath, isDirectory: true, searchOption: SearchOption.TopDirectoryOnly); 106string? scripts = Utilities.FindInPath("Scripts", srcPath, isDirectory: true, searchOption: SearchOption.TopDirectoryOnly); 141string? script = Utilities.FindInPath("Scripts", srcPath, isDirectory: true, searchOption: SearchOption.TopDirectoryOnly); 170Path.GetFullPath(Utilities.FindInPath("Payload", searchPath, isDirectory, searchOption: SearchOption.TopDirectoryOnly)
Program.cs (10)
27Utilities.CleanupPath(dstPath); 28Utilities.CreateParentDirectory(dstPath); 35if (!File.Exists(srcPath) || (!Utilities.IsPkg(srcPath) && !Utilities.IsAppBundle(srcPath))) 42if (Utilities.IsPkg(srcPath)) 46else if (Utilities.IsAppBundle(srcPath)) 58if (!Utilities.IsPkg(dstPath) && !Utilities.IsAppBundle(dstPath)) 65if (Utilities.IsPkg(dstPath)) 69else if (Utilities.IsAppBundle(dstPath))