Beispiel #1
0
 public NodeFilePath DacProfilePath(DistId distId, string PackageName, N DstNode)
 => SqlDacDistDir(distId)
 + DacFileName(PackageName).ChangeExtension($"{DstNode}.{CommonFileExtensions.DacProfile}");
Beispiel #2
0
 public NodeFolderPath SqlDacDistDir(DistId distId)
 => SqlDistDir(distId) + FolderName.Parse("dacpac");
Beispiel #3
0
 public NodeFilePath SqlDacPacPath(DistId distId, FileName PackageFileName)
 => SqlDacDistDir(distId) + PackageFileName;
Beispiel #4
0
 public NodeFolderPath ExeDistDir(DistId distId)
 => DistFolder(distId) + FolderName.Parse("exe");
Beispiel #5
0
 public NodeFolderPath SqlDistDir(DistId distId)
 => DistFolder(distId) + FolderName.Parse("sql");
Beispiel #6
0
 public IEnumerable <NodeFilePath> DistArchives(DistId distId)
 => DistArchiveRoot.Files($"{distId}*.zip").Reverse();
Beispiel #7
0
 public NodeFolderPath DistFolder(DistId distId)
 => DistRoot + FolderName.Parse(distId);
Beispiel #8
0
 public DistributionSpecifier(DistributionIdentifier DistId, NodeFolderPath Location, IEnumerable <FolderName> SegmentFolders)
 {
     this.DistId   = DistId;
     this.Location = Location;
     this.Segments = map(SegmentFolders, CreateSegment);
 }
Beispiel #9
0
 public Option <Link <DistId, FilePath> > Archive(DistId DistId)
 => from path in some(link(Location(DistId), DistArchive + FileName.Parse(DistId.IdentifierText + ".zip")))
 from archive in C.FileArchiveManager().CreateArchive(path)
 select link(DistId, archive.Target);
Beispiel #10
0
 public FolderPath Location(DistId DistId)
 => DistRoot + DistId;
Beispiel #11
0
 public IEnumerable <NodeFolderPath> SegmentFolders(DistId Identifier)
 => DistributionLocation(Identifier).Folders();
Beispiel #12
0
 public NodeFolderPath DistributionLocation(DistId Identifier)
 => (NavRoot + FolderName.Parse(Identifier));