/// <summary> /// Initializes a new instance of the <see cref="GatorShareRedirectFSHelper"/> class. /// </summary> /// <param name="baseDir">The base dir.</param> /// <param name="pathFactory">The path factory.</param> public GatorShareRedirectFSHelper(ShadowDirPath baseDir, PathFactory pathFactory, FilesysManager fileManager, FilesysContext filesysContext) : base(baseDir.PathString) { _pathFactory = pathFactory; _fileManager = fileManager; _filesysContext = filesysContext; // Create the meta direcotry. Directory.CreateDirectory(_pathFactory.CreateShadowFullPath( new VirtualPath(Path.DirectorySeparatorChar.ToString()), PathFactory.FilesysOp.Read).PathString); }
/// <summary> /// Initializes a new instance of the <see cref="PathFactory"/> class. /// </summary> /// <param name="shadowDirPath">The shadow dir path.</param> public PathFactory(ShadowDirPath shadowDirPath) { _shadowDirPath = shadowDirPath.PathString; }