private HResult WritePlaceholderInfo()

in simpleProviderManaged/SimpleProvider.cs [513:544]


        private HResult WritePlaceholderInfo(string relativePath, ProjectedFileInfo fileInfo, string targetPath)
        {
            if (this.isSymlinkSupportAvailable)
            {
                return this.virtualizationInstance.WritePlaceholderInfo2(
                        relativePath: Path.Combine(Path.GetDirectoryName(relativePath), fileInfo.Name),
                        creationTime: fileInfo.CreationTime,
                        lastAccessTime: fileInfo.LastAccessTime,
                        lastWriteTime: fileInfo.LastWriteTime,
                        changeTime: fileInfo.ChangeTime,
                        fileAttributes: fileInfo.Attributes,
                        endOfFile: fileInfo.Size,
                        isDirectory: fileInfo.IsDirectory,
                        symlinkTargetOrNull: targetPath,
                        contentId: new byte[] { 0 },
                        providerId: new byte[] { 1 });
            }
            else
            {
                return this.virtualizationInstance.WritePlaceholderInfo(
                        relativePath: Path.Combine(Path.GetDirectoryName(relativePath), fileInfo.Name),
                        creationTime: fileInfo.CreationTime,
                        lastAccessTime: fileInfo.LastAccessTime,
                        lastWriteTime: fileInfo.LastWriteTime,
                        changeTime: fileInfo.ChangeTime,
                        fileAttributes: fileInfo.Attributes,
                        endOfFile: fileInfo.Size,
                        isDirectory: fileInfo.IsDirectory,
                        contentId: new byte[] { 0 },
                        providerId: new byte[] { 1 });
            }
        }