nerdbank-gitversioning 3.9.17-alpha → 3.9.32-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nbgv.cli/tools/net8.0/any/Nerdbank.GitVersioning.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/Nerdbank.GitVersioning.pdb +0 -0
- package/nbgv.cli/tools/net8.0/any/Nerdbank.GitVersioning.xml +36 -15
- package/nbgv.cli/tools/net8.0/any/Newtonsoft.Json.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/System.CommandLine.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/cs/System.CommandLine.resources.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/de/System.CommandLine.resources.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/es/System.CommandLine.resources.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/fr/System.CommandLine.resources.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/it/System.CommandLine.resources.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/ja/System.CommandLine.resources.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/ko/System.CommandLine.resources.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/nbgv.deps.json +24 -24
- package/nbgv.cli/tools/net8.0/any/nbgv.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/nbgv.exe +0 -0
- package/nbgv.cli/tools/net8.0/any/nbgv.xml +7 -0
- package/nbgv.cli/tools/net8.0/any/pl/System.CommandLine.resources.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/pt-BR/System.CommandLine.resources.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/ru/System.CommandLine.resources.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/tr/System.CommandLine.resources.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/zh-Hans/System.CommandLine.resources.dll +0 -0
- package/nbgv.cli/tools/net8.0/any/zh-Hant/System.CommandLine.resources.dll +0 -0
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
@@ -667,6 +667,21 @@
|
|
|
667
667
|
Gets the path to the .git folder.
|
|
668
668
|
</summary>
|
|
669
669
|
</member>
|
|
670
|
+
<member name="M:Nerdbank.GitVersioning.GitContext.GetEffectiveGitEngine(Nerdbank.GitVersioning.GitContext.Engine)">
|
|
671
|
+
<summary>
|
|
672
|
+
Gets the effective git engine to use, taking into account automatic disabling for Dependabot.
|
|
673
|
+
This overload checks the NBGV_GitEngine environment variable and parses it automatically.
|
|
674
|
+
</summary>
|
|
675
|
+
<param name="defaultEngine">The engine to use if no environment variables dictate otherwise.</param>
|
|
676
|
+
<returns>The engine to use.</returns>
|
|
677
|
+
<remarks>
|
|
678
|
+
If the NBGV_GitEngine environment variable is set, it takes precedence.
|
|
679
|
+
Valid values are "LibGit2", "Managed", and "Disabled" (case-sensitive).
|
|
680
|
+
Unrecognized values are treated as if the variable was not set, maintaining backward compatibility.
|
|
681
|
+
Otherwise, if the DEPENDABOT environment variable is set to "true" (case-insensitive), returns <see cref="F:Nerdbank.GitVersioning.GitContext.Engine.Disabled"/>.
|
|
682
|
+
Otherwise, returns <paramref name="defaultEngine"/>.
|
|
683
|
+
</remarks>
|
|
684
|
+
</member>
|
|
670
685
|
<member name="M:Nerdbank.GitVersioning.GitContext.Create(System.String,System.String,Nerdbank.GitVersioning.GitContext.Engine)">
|
|
671
686
|
<summary>
|
|
672
687
|
Creates a context for reading/writing version information at a given path and committish.
|
|
@@ -733,6 +748,12 @@
|
|
|
733
748
|
<param name="path">The absolute path to start the search from.</param>
|
|
734
749
|
<returns>The path to the .git folder and working tree, or <see langword="null"/> if not found.</returns>
|
|
735
750
|
</member>
|
|
751
|
+
<member name="M:Nerdbank.GitVersioning.GitContext.IsDependabotEnvironment">
|
|
752
|
+
<summary>
|
|
753
|
+
Determines whether the current environment is running under Dependabot.
|
|
754
|
+
</summary>
|
|
755
|
+
<returns><see langword="true"/> if DEPENDABOT environment variable is set to "true" (case-insensitive); otherwise, <see langword="false"/>.</returns>
|
|
756
|
+
</member>
|
|
736
757
|
<member name="T:Nerdbank.GitVersioning.GitException">
|
|
737
758
|
<summary>
|
|
738
759
|
The exception which is thrown by the managed Git layer.
|
|
@@ -4832,7 +4853,7 @@
|
|
|
4832
4853
|
<member name="F:Windows.Win32.Foundation.HANDLE.INVALID_HANDLE_VALUE">
|
|
4833
4854
|
<summary>There is no interactive user. The trust provider performs the verification action without the user's assistance.</summary>
|
|
4834
4855
|
<remarks>
|
|
4835
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/wintrust/nf-wintrust-winverifytrust">Learn more about this API from
|
|
4856
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/wintrust/nf-wintrust-winverifytrust">Learn more about this API from learn.microsoft.com</see>.</para>
|
|
4836
4857
|
</remarks>
|
|
4837
4858
|
</member>
|
|
4838
4859
|
<member name="T:Windows.Win32.Foundation.PCWSTR">
|
|
@@ -4880,7 +4901,7 @@
|
|
|
4880
4901
|
<remarks>
|
|
4881
4902
|
<para>The <b>CloseHandle</b> function closes handles to the following objects: </para>
|
|
4882
4903
|
<para>This doc was truncated.</para>
|
|
4883
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/handleapi/nf-handleapi-closehandle#">Read more on
|
|
4904
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/handleapi/nf-handleapi-closehandle#">Read more on learn.microsoft.com</see>.</para>
|
|
4884
4905
|
</remarks>
|
|
4885
4906
|
</member>
|
|
4886
4907
|
<member name="M:Windows.Win32.PInvoke.CreateFile(System.String,System.UInt32,Windows.Win32.Storage.FileSystem.FILE_SHARE_MODE,System.Nullable{Windows.Win32.Security.SECURITY_ATTRIBUTES},Windows.Win32.Storage.FileSystem.FILE_CREATION_DISPOSITION,Windows.Win32.Storage.FileSystem.FILE_FLAGS_AND_ATTRIBUTES,System.Runtime.InteropServices.SafeHandle)">
|
|
@@ -4890,32 +4911,32 @@
|
|
|
4890
4911
|
<summary>Creates or opens a file or I/O device. The most commonly used I/O devices are as follows:\_file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe. (Unicode)</summary>
|
|
4891
4912
|
<param name="lpFileName">
|
|
4892
4913
|
<para>The name of the file or device to be created or opened. You may use either forward slashes (/) or backslashes (\\) in this name. In the ANSI version of this function, the name is limited to <b>MAX_PATH</b> characters. To extend this limit to 32,767 wide characters, use this Unicode version of the function and prepend "\\\\?\\" to the path. For more information, see <a href="https://docs.microsoft.com/windows/desktop/FileIO/naming-a-file">Naming Files, Paths, and Namespaces</a>. For information on special device names, see <a href="https://docs.microsoft.com/windows/desktop/FileIO/defining-an-ms-dos-device-name">Defining an MS-DOS Device Name</a>. To create a file stream, specify the name of the file, a colon, and then the name of the stream. For more information, see <a href="https://docs.microsoft.com/windows/desktop/FileIO/file-streams">File Streams</a>. <div class="alert"><b>Tip</b> Starting with Windows 10, version 1607, for the unicode version of this function (<b>CreateFileW</b>), you can opt-in to remove the <b>MAX_PATH</b> limitation without prepending "\\?\". See the "Maximum Path Length Limitation" section of <a href="https://docs.microsoft.com/windows/desktop/FileIO/naming-a-file">Naming Files, Paths, and Namespaces</a> for details.</div> <div> </div></para>
|
|
4893
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on
|
|
4914
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on learn.microsoft.com</see>.</para>
|
|
4894
4915
|
</param>
|
|
4895
4916
|
<param name="dwDesiredAccess">
|
|
4896
4917
|
<para>The requested access to the file or device, which can be summarized as read, write, both or neither zero). The most commonly used values are <b>GENERIC_READ</b>, <b>GENERIC_WRITE</b>, or both (<c>GENERIC_READ | GENERIC_WRITE</c>). For more information, see <a href="https://docs.microsoft.com/windows/desktop/SecAuthZ/generic-access-rights">Generic Access Rights</a>, <a href="https://docs.microsoft.com/windows/desktop/FileIO/file-security-and-access-rights">File Security and Access Rights</a>, <a href="https://docs.microsoft.com/windows/desktop/FileIO/file-access-rights-constants">File Access Rights Constants</a>, and <a href="https://docs.microsoft.com/windows/desktop/SecAuthZ/access-mask">ACCESS_MASK</a>. If this parameter is zero, the application can query certain metadata such as file, directory, or device attributes without accessing that file or device, even if <b>GENERIC_READ</b> access would have been denied. You cannot request an access mode that conflicts with the sharing mode that is specified by the <i>dwShareMode</i> parameter in an open request that already has an open handle. For more information, see the Remarks section of this topic and <a href="https://docs.microsoft.com/windows/desktop/FileIO/creating-and-opening-files">Creating and Opening Files</a>.</para>
|
|
4897
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on
|
|
4918
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on learn.microsoft.com</see>.</para>
|
|
4898
4919
|
</param>
|
|
4899
4920
|
<param name="dwShareMode">
|
|
4900
4921
|
<para>The requested sharing mode of the file or device, which can be read, write, both, delete, all of these, or none (refer to the following table). Access requests to attributes or extended attributes are not affected by this flag. If this parameter is zero and <b>CreateFile</b> succeeds, the file or device cannot be shared and cannot be opened again until the handle to the file or device is closed. For more information, see the Remarks section. You cannot request a sharing mode that conflicts with the access mode that is specified in an existing request that has an open handle. <b>CreateFile</b> would fail and the <a href="https://docs.microsoft.com/windows/desktop/api/errhandlingapi/nf-errhandlingapi-getlasterror">GetLastError</a> function would return <b>ERROR_SHARING_VIOLATION</b>. To enable a process to share a file or device while another process has the file or device open, use a</para>
|
|
4901
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on
|
|
4922
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on learn.microsoft.com</see>.</para>
|
|
4902
4923
|
</param>
|
|
4903
4924
|
<param name="lpSecurityAttributes">
|
|
4904
4925
|
<para>A pointer to a <a href="https://docs.microsoft.com/previous-versions/windows/desktop/legacy/aa379560(v=vs.85)">SECURITY_ATTRIBUTES</a> structure that contains two separate but related data members: an optional security descriptor, and a Boolean value that determines whether the returned handle can be inherited by child processes. This parameter can be <b>NULL</b>. If this parameter is <b>NULL</b>, the handle returned by <b>CreateFile</b> cannot be inherited by any child processes the application may create and the file or device associated with the returned handle gets a default security descriptor. The <b>lpSecurityDescriptor</b> member of the structure specifies a <a href="https://docs.microsoft.com/windows/desktop/api/winnt/ns-winnt-security_descriptor">SECURITY_DESCRIPTOR</a> for a file or device. If this member is <b>NULL</b>, the file or device associated with the returned handle is assigned a default security descriptor. <b>CreateFile</b> ignores the <b>lpSecurityDescriptor</b> member when opening an existing file or device, but continues to use the <b>bInheritHandle</b> member. The <b>bInheritHandle</b> member of the structure specifies whether the returned handle can be inherited. For more information, see the Remarks section.</para>
|
|
4905
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on
|
|
4926
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on learn.microsoft.com</see>.</para>
|
|
4906
4927
|
</param>
|
|
4907
4928
|
<param name="dwCreationDisposition">
|
|
4908
4929
|
<para>An action to take on a file or device that exists or does not exist. For devices other than files, this parameter is usually set to <b>OPEN_EXISTING</b>. For more information, see the Remarks section.</para>
|
|
4909
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on
|
|
4930
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on learn.microsoft.com</see>.</para>
|
|
4910
4931
|
</param>
|
|
4911
4932
|
<param name="dwFlagsAndAttributes">
|
|
4912
4933
|
<para>The file or device attributes and flags, <b>FILE_ATTRIBUTE_NORMAL</b> being the most common default value for files. This parameter can include any combination of the available file attributes (<b>FILE_ATTRIBUTE_*</b>). All other file attributes override <b>FILE_ATTRIBUTE_NORMAL</b>. This parameter can also contain combinations of flags (<b>FILE_FLAG_*</b>) for control of file or device caching behavior, access modes, and other special-purpose flags. These combine with any <b>FILE_ATTRIBUTE_*</b> values. This parameter can also contain Security Quality of Service (SQOS) information by specifying the <b>SECURITY_SQOS_PRESENT</b> flag. Additional SQOS-related flags information is presented in the table following the attributes and flags tables. <div class="alert"><b>Note</b> When <b>CreateFile</b> opens an existing file, it generally combines the file flags with the file attributes of the existing file, and ignores any file attributes supplied as part of <i>dwFlagsAndAttributes</i>. Special cases are detailed in <a href="https://docs.microsoft.com/windows/desktop/FileIO/creating-and-opening-files">Creating and Opening Files</a>.</div> <div> </div> Some of the following file attributes and flags may only apply to files and not necessarily all other types of devices that <b>CreateFile</b> can open. For additional information, see the Remarks section of this topic and <a href="https://docs.microsoft.com/windows/desktop/FileIO/creating-and-opening-files">Creating and Opening Files</a>. For more advanced access to file attributes, see <a href="https://docs.microsoft.com/windows/desktop/api/fileapi/nf-fileapi-setfileattributesa">SetFileAttributes</a>. For a complete list of all file attributes with their values and descriptions, see <a href="https://docs.microsoft.com/windows/desktop/FileIO/file-attribute-constants">File Attribute Constants</a>. </para>
|
|
4913
4934
|
<para>This doc was truncated.</para>
|
|
4914
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on
|
|
4935
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on learn.microsoft.com</see>.</para>
|
|
4915
4936
|
</param>
|
|
4916
4937
|
<param name="hTemplateFile">
|
|
4917
4938
|
<para>A valid handle to a template file with the <b>GENERIC_READ</b> access right. The template file supplies file attributes and extended attributes for the file that is being created. This parameter can be <b>NULL</b>. When opening an existing file, <b>CreateFile</b> ignores this parameter. When opening a new encrypted file, the file inherits the discretionary access control list from its parent directory. For additional information, see <a href="https://docs.microsoft.com/windows/desktop/FileIO/file-encryption">File Encryption</a>.</para>
|
|
4918
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on
|
|
4939
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#parameters">Read more on learn.microsoft.com</see>.</para>
|
|
4919
4940
|
</param>
|
|
4920
4941
|
<returns>
|
|
4921
4942
|
<para>If the function succeeds, the return value is an open handle to the specified file, device, named pipe, or mail slot. If the function fails, the return value is <b>INVALID_HANDLE_VALUE</b>. To get extended error information, call <a href="https://docs.microsoft.com/windows/desktop/api/errhandlingapi/nf-errhandlingapi-getlasterror">GetLastError</a>.</para>
|
|
@@ -4923,21 +4944,21 @@
|
|
|
4923
4944
|
<remarks>
|
|
4924
4945
|
<para><b>CreateFile</b> was originally developed specifically for file interaction but has since been expanded and enhanced to include most other types of I/O devices and mechanisms available to Windows developers. This section attempts to cover the varied issues developers may experience when using <b>CreateFile</b> in different contexts and with different I/O types. The text attempts to use the word <i>file</i> only when referring specifically to data stored in an actual file on a file system. However, some uses of <i>file</i> may be referring more generally to an I/O object that supports file-like mechanisms. This liberal use of the term <i>file</i> is particularly prevalent in constant names and parameter names because of the previously mentioned historical reasons. When an application is finished using the object handle returned by <b>CreateFile</b>, use the <a href="https://docs.microsoft.com/windows/desktop/api/handleapi/nf-handleapi-closehandle">CloseHandle</a> function to close the handle. This not only frees up system resources, but can have wider influence on things like sharing the file or device and committing data to disk. Specifics are noted within this topic as appropriate. <b>Windows Server 2003 and Windows XP: </b>A sharing violation occurs if an attempt is made to open a file or directory for deletion on a remote computer when the value of the <i>dwDesiredAccess</i> parameter is the <b>DELETE</b> access flag (0x00010000) <b>OR</b>'ed with any other access flag, and the remote file or directory has not been opened with <b>FILE_SHARE_DELETE</b>. To avoid the sharing violation in this scenario, open the remote file or directory with the <b>DELETE</b> access right only, or call <a href="https://docs.microsoft.com/windows/desktop/api/fileapi/nf-fileapi-deletefilea">DeleteFile</a> without first opening the file or directory for deletion. Some file systems, such as the NTFS file system, support compression or encryption for individual files and directories. On volumes that have a mounted file system with this support, a new file inherits the compression and encryption attributes of its directory. You cannot use <b>CreateFile</b> to control compression, decompression, or decryption on a file or directory. For more information, see <a href="https://docs.microsoft.com/windows/desktop/FileIO/creating-and-opening-files">Creating and Opening Files</a>, <a href="https://docs.microsoft.com/windows/desktop/FileIO/file-compression-and-decompression">File Compression and Decompression</a>, and <a href="https://docs.microsoft.com/windows/desktop/FileIO/file-encryption">File Encryption</a>. <b>Windows Server 2003 and Windows XP: </b>For backward compatibility purposes, <b>CreateFile</b> does not apply inheritance rules when you specify a security descriptor in <i>lpSecurityAttributes</i>. To support inheritance, functions that later query the security descriptor of this file may heuristically determine and report that inheritance is in effect. For more information, see <a href="https://docs.microsoft.com/windows/desktop/SecAuthZ/automatic-propagation-of-inheritable-aces">Automatic Propagation of Inheritable ACEs</a>. As stated previously, if the <i>lpSecurityAttributes</i> parameter is <b>NULL</b>, the handle returned by <b>CreateFile</b> cannot be inherited by any child processes your application may create. The following information regarding this parameter also applies: </para>
|
|
4925
4946
|
<para>This doc was truncated.</para>
|
|
4926
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#">Read more on
|
|
4947
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/fileapi/nf-fileapi-createfilew#">Read more on learn.microsoft.com</see>.</para>
|
|
4927
4948
|
</remarks>
|
|
4928
4949
|
</member>
|
|
4929
4950
|
<member name="M:Windows.Win32.PInvoke.FreeLibrary(Windows.Win32.Foundation.HMODULE)">
|
|
4930
4951
|
<summary>Frees the loaded dynamic-link library (DLL) module and, if necessary, decrements its reference count.</summary>
|
|
4931
4952
|
<param name="hLibModule">
|
|
4932
4953
|
<para>A handle to the loaded library module. The <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-loadlibrarya">LoadLibrary</a>, <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-loadlibraryexa">LoadLibraryEx</a>, <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-getmodulehandlea">GetModuleHandle</a>, or <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-getmodulehandleexa">GetModuleHandleEx</a> function returns this handle.</para>
|
|
4933
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/libloaderapi/nf-libloaderapi-freelibrary#parameters">Read more on
|
|
4954
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/libloaderapi/nf-libloaderapi-freelibrary#parameters">Read more on learn.microsoft.com</see>.</para>
|
|
4934
4955
|
</param>
|
|
4935
4956
|
<returns>
|
|
4936
4957
|
<para>If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call the <a href="https://docs.microsoft.com/windows/desktop/api/errhandlingapi/nf-errhandlingapi-getlasterror">GetLastError</a> function.</para>
|
|
4937
4958
|
</returns>
|
|
4938
4959
|
<remarks>
|
|
4939
4960
|
<para>The system maintains a per-process reference count for each loaded module. A module that was loaded at process initialization due to load-time dynamic linking has a reference count of one. The reference count for a module is incremented each time the module is loaded by a call to <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-loadlibrarya">LoadLibrary</a>. The reference count is also incremented by a call to <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-loadlibraryexa">LoadLibraryEx</a> unless the module is being loaded for the first time and is being loaded as a data or image file. The reference count is decremented each time the <b>FreeLibrary</b> or <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-freelibraryandexitthread">FreeLibraryAndExitThread</a> function is called for the module. When a module's reference count reaches zero or the process terminates, the system unloads the module from the address space of the process. Before unloading a library module, the system enables the module to detach from the process by calling the module's <a href="https://docs.microsoft.com/windows/desktop/Dlls/dllmain">DllMain</a> function, if it has one, with the DLL_PROCESS_DETACH value. Doing so gives the library module an opportunity to clean up resources allocated on behalf of the current process. After the entry-point function returns, the library module is removed from the address space of the current process. It is not safe to call <b>FreeLibrary</b> from <a href="https://docs.microsoft.com/windows/desktop/Dlls/dllmain">DllMain</a>. For more information, see the Remarks section in <a href="https://docs.microsoft.com/windows/desktop/Dlls/dllmain">DllMain</a>. Calling <b>FreeLibrary</b> does not affect other processes that are using the same module. Use caution when calling <b>FreeLibrary</b> with a handle returned by <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-getmodulehandlea">GetModuleHandle</a>. The <b>GetModuleHandle</b> function does not increment a module's reference count, so passing this handle to <b>FreeLibrary</b> can cause a module to be unloaded prematurely. A thread that must unload the DLL in which it is executing and then terminate itself should call <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-freelibraryandexitthread">FreeLibraryAndExitThread</a> instead of calling <b>FreeLibrary</b> and <b>ExitThread</b> separately. Otherwise, a race condition can occur. For details, see the Remarks section of <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-freelibraryandexitthread">FreeLibraryAndExitThread</a>.</para>
|
|
4940
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/libloaderapi/nf-libloaderapi-freelibrary#">Read more on
|
|
4961
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/libloaderapi/nf-libloaderapi-freelibrary#">Read more on learn.microsoft.com</see>.</para>
|
|
4941
4962
|
</remarks>
|
|
4942
4963
|
</member>
|
|
4943
4964
|
<member name="M:Windows.Win32.PInvoke.LoadLibrary(System.String)">
|
|
@@ -4947,14 +4968,14 @@
|
|
|
4947
4968
|
<summary>Loads the specified module into the address space of the calling process. (LoadLibraryW)</summary>
|
|
4948
4969
|
<param name="lpLibFileName">
|
|
4949
4970
|
<para>The name of the module. This can be either a library module (a .dll file) or an executable module (an .exe file). If the specified module is an executable module, static imports are not loaded; instead, the module is loaded as if by <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-loadlibraryexw">LoadLibraryEx</a> with the `DONT_RESOLVE_DLL_REFERENCES` flag. The name specified is the file name of the module and is not related to the name stored in the library module itself, as specified by the <b>LIBRARY</b> keyword in the module-definition (.def) file. If the string specifies a full path, the function searches only that path for the module. If the string specifies a relative path or a module name without a path, the function uses a standard search strategy to find the module; for more information, see the Remarks. If the function cannot find the module, the function fails. When specifying a path, be sure to use backslashes (\\), not forward slashes (/). For more information about paths, see <a href="https://docs.microsoft.com/windows/desktop/FileIO/naming-a-file">Naming a File or Directory</a>. If the string specifies a module name without a path and the file name extension is omitted, the function appends the default library extension ".DLL" to the module name. To prevent the function from appending ".DLL" to the module name, include a trailing point character (.) in the module name string.</para>
|
|
4950
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/libloaderapi/nf-libloaderapi-loadlibraryw#parameters">Read more on
|
|
4971
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/libloaderapi/nf-libloaderapi-loadlibraryw#parameters">Read more on learn.microsoft.com</see>.</para>
|
|
4951
4972
|
</param>
|
|
4952
4973
|
<returns>
|
|
4953
4974
|
<para>If the function succeeds, the return value is a handle to the module. If the function fails, the return value is NULL. To get extended error information, call <a href="https://docs.microsoft.com/windows/desktop/api/errhandlingapi/nf-errhandlingapi-getlasterror">GetLastError</a>.</para>
|
|
4954
4975
|
</returns>
|
|
4955
4976
|
<remarks>
|
|
4956
4977
|
<para>To enable or disable error messages displayed by the loader during DLL loads, use the <a href="https://docs.microsoft.com/windows/desktop/api/errhandlingapi/nf-errhandlingapi-seterrormode">SetErrorMode</a> function. <b>LoadLibrary</b> can be used to load a library module into the address space of the process and return a handle that can be used in <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-getprocaddress">GetProcAddress</a> to get the address of a DLL function. <b>LoadLibrary</b> can also be used to load other executable modules. For example, the function can specify an .exe file to get a handle that can be used in <a href="https://docs.microsoft.com/windows/desktop/api/winbase/nf-winbase-findresourcea">FindResource</a> or <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-loadresource">LoadResource</a>. However, do not use <b>LoadLibrary</b> to run an .exe file. Instead, use the <a href="https://docs.microsoft.com/windows/desktop/api/processthreadsapi/nf-processthreadsapi-createprocessa">CreateProcess</a> function. If the specified module is a DLL that is not already loaded for the calling process, the system calls the DLL's <a href="https://docs.microsoft.com/windows/desktop/Dlls/dllmain">DllMain</a> function with the <b>DLL_PROCESS_ATTACH</b> value. If <b>DllMain</b> returns <b>TRUE</b>, <b>LoadLibrary</b> returns a handle to the module. If <b>DllMain</b> returns <b>FALSE</b>, the system unloads the DLL from the process address space and <b>LoadLibrary</b> returns <b>NULL</b>. It is not safe to call <b>LoadLibrary</b> from <b>DllMain</b>. For more information, see the Remarks section in <b>DllMain</b>. Module handles are not global or inheritable. A call to <b>LoadLibrary</b> by one process does not produce a handle that another process can use — for example, in calling <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-getprocaddress">GetProcAddress</a>. The other process must make its own call to <b>LoadLibrary</b> for the module before calling <b>GetProcAddress</b>. If <i>lpFileName</i> does not include a path and there is more than one loaded module with the same base name and extension, the function returns a handle to the module that was loaded first. If no file name extension is specified in the <i>lpFileName</i> parameter, the default library extension .dll is appended. However, the file name string can include a trailing point character (.) to indicate that the module name has no extension. When no path is specified, the function searches for loaded modules whose base name matches the base name of the module to be loaded. If the name matches, the load succeeds. Otherwise, the function searches for the file. The first directory searched is the directory containing the image file used to create the calling process (for more information, see the <a href="https://docs.microsoft.com/windows/desktop/api/processthreadsapi/nf-processthreadsapi-createprocessa">CreateProcess</a> function). Doing this allows private dynamic-link library (DLL) files associated with a process to be found without adding the process's installed directory to the PATH environment variable. If a relative path is specified, the entire relative path is appended to every token in the DLL search path list. To load a module from a relative path without searching any other path, use <a href="https://docs.microsoft.com/windows/desktop/api/fileapi/nf-fileapi-getfullpathnamea">GetFullPathName</a> to get a nonrelative path and call <b>LoadLibrary</b> with the nonrelative path. For more information on the DLL search order, see <a href="https://docs.microsoft.com/windows/desktop/Dlls/dynamic-link-library-search-order">Dynamic-Link Library Search Order</a>. The search path can be altered using the <a href="https://docs.microsoft.com/windows/desktop/api/winbase/nf-winbase-setdlldirectorya">SetDllDirectory</a> function. This solution is recommended instead of using <a href="https://docs.microsoft.com/windows/desktop/api/winbase/nf-winbase-setcurrentdirectory">SetCurrentDirectory</a> or hard-coding the full path to the DLL. If a path is specified and there is a redirection file for the application, the function searches for the module in the application's directory. If the module exists in the application's directory, <b>LoadLibrary</b> ignores the specified path and loads the module from the application's directory. If the module does not exist in the application's directory, <b>LoadLibrary</b> loads the module from the specified directory. For more information, see <a href="https://docs.microsoft.com/windows/desktop/Dlls/dynamic-link-library-redirection">Dynamic Link Library Redirection</a>. If you call <b>LoadLibrary</b> with the name of an assembly without a path specification and the assembly is listed in the system compatible manifest, the call is automatically redirected to the side-by-side assembly. The system maintains a per-process reference count on all loaded modules. Calling <b>LoadLibrary</b> increments the reference count. Calling the <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-freelibrary">FreeLibrary</a> or <a href="https://docs.microsoft.com/windows/desktop/api/libloaderapi/nf-libloaderapi-freelibraryandexitthread">FreeLibraryAndExitThread</a> function decrements the reference count. The system unloads a module when its reference count reaches zero or when the process terminates (regardless of the reference count). <b>Windows Server 2003 and Windows XP: </b>The Visual C++ compiler supports a syntax that enables you to declare thread-local variables: <b>_declspec(thread)</b>. If you use this syntax in a DLL, you will not be able to load the DLL explicitly using <b>LoadLibrary</b> on versions of Windows prior to Windows Vista. If your DLL will be loaded explicitly, you must use the thread local storage functions instead of <b>_declspec(thread)</b>. For an example, see <a href="https://docs.microsoft.com/windows/desktop/Dlls/using-thread-local-storage-in-a-dynamic-link-library">Using Thread Local Storage in a Dynamic Link Library</a>. <h3><a id="Security_Remarks"></a><a id="security_remarks"></a><a id="SECURITY_REMARKS"></a>Security Remarks</h3> Do not use the <a href="https://docs.microsoft.com/windows/desktop/api/processenv/nf-processenv-searchpathw">SearchPath</a> function to retrieve a path to a DLL for a subsequent <b>LoadLibrary</b> call. The <b>SearchPath</b> function uses a different search order than <b>LoadLibrary</b> and it does not use safe process search mode unless this is explicitly enabled by calling <a href="https://docs.microsoft.com/windows/desktop/api/winbase/nf-winbase-setsearchpathmode">SetSearchPathMode</a> with <b>BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE</b>. Therefore, <b>SearchPath</b> is likely to first search the user’s current working directory for the specified DLL. If an attacker has copied a malicious version of a DLL into the current working directory, the path retrieved by <b>SearchPath</b> will point to the malicious DLL, which <b>LoadLibrary</b> will then load. Do not make assumptions about the operating system version based on a <b>LoadLibrary</b> call that searches for a DLL. If the application is running in an environment where the DLL is legitimately not present but a malicious version of the DLL is in the search path, the malicious version of the DLL may be loaded. Instead, use the recommended techniques described in <a href="https://docs.microsoft.com/windows/desktop/SysInfo/getting-the-system-version">Getting the System Version</a>.</para>
|
|
4957
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/libloaderapi/nf-libloaderapi-loadlibraryw#">Read more on
|
|
4978
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/libloaderapi/nf-libloaderapi-loadlibraryw#">Read more on learn.microsoft.com</see>.</para>
|
|
4958
4979
|
</remarks>
|
|
4959
4980
|
</member>
|
|
4960
4981
|
<member name="T:Windows.Win32.Security.SECURITY_ATTRIBUTES">
|
|
@@ -4967,7 +4988,7 @@
|
|
|
4967
4988
|
<member name="F:Windows.Win32.Security.SECURITY_ATTRIBUTES.lpSecurityDescriptor">
|
|
4968
4989
|
<summary>
|
|
4969
4990
|
<para>A pointer to a [**SECURITY\_DESCRIPTOR**](../winnt/ns-winnt-security_descriptor.md) structure that controls access to the object. If the value of this member is **NULL**, the object is assigned the default security descriptor associated with the [*access token*](/windows/win32/secauthz/access-tokens) of the calling process. This is not the same as granting access to everyone by assigning a **NULL** [*discretionary access control list*](/windows/win32/secauthz/dacls-and-aces) (DACL). By default, the default DACL in the access token of a process allows access only to the user represented by the access token. For information about creating a security descriptor, see [Creating a Security Descriptor](/windows/win32/secauthz/creating-a-security-descriptor-for-a-new-object-in-c--).</para>
|
|
4970
|
-
<para><see href="https://learn.microsoft.com/windows/win32/api/wtypesbase/ns-wtypesbase-security_attributes#members">Read more on
|
|
4991
|
+
<para><see href="https://learn.microsoft.com/windows/win32/api/wtypesbase/ns-wtypesbase-security_attributes#members">Read more on learn.microsoft.com</see>.</para>
|
|
4971
4992
|
</summary>
|
|
4972
4993
|
</member>
|
|
4973
4994
|
<member name="F:Windows.Win32.Security.SECURITY_ATTRIBUTES.bInheritHandle">
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v8.0": {
|
|
9
|
-
"nbgv/3.9.
|
|
9
|
+
"nbgv/3.9.32-alpha": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"CSharpIsNullAnalyzer": "0.1.593",
|
|
12
12
|
"DotNetAnalyzers.DocumentationAnalyzers": "1.0.0-beta.59",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"NuGet.PackageManagement": "6.14.0",
|
|
17
17
|
"PolySharp": "1.15.0",
|
|
18
18
|
"StyleCop.Analyzers.Unstable": "1.2.0.556",
|
|
19
|
-
"System.CommandLine": "2.0.0-
|
|
19
|
+
"System.CommandLine": "2.0.0-rc.2.25502.107",
|
|
20
20
|
"System.Diagnostics.Tools": "4.3.0",
|
|
21
|
-
"Nerdbank.GitVersioning": "3.9.
|
|
21
|
+
"Nerdbank.GitVersioning": "3.9.32.26105"
|
|
22
22
|
},
|
|
23
23
|
"runtime": {
|
|
24
24
|
"nbgv.dll": {}
|
|
@@ -227,11 +227,11 @@
|
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
"Nerdbank.GitVersioning.LKG/3.8.80-alpha": {},
|
|
230
|
-
"Newtonsoft.Json/13.0.
|
|
230
|
+
"Newtonsoft.Json/13.0.4": {
|
|
231
231
|
"runtime": {
|
|
232
232
|
"lib/net6.0/Newtonsoft.Json.dll": {
|
|
233
233
|
"assemblyVersion": "13.0.0.0",
|
|
234
|
-
"fileVersion": "13.0.
|
|
234
|
+
"fileVersion": "13.0.4.30916"
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
},
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
},
|
|
336
336
|
"NuGet.Packaging/6.14.0": {
|
|
337
337
|
"dependencies": {
|
|
338
|
-
"Newtonsoft.Json": "13.0.
|
|
338
|
+
"Newtonsoft.Json": "13.0.4",
|
|
339
339
|
"NuGet.Configuration": "6.14.0",
|
|
340
340
|
"NuGet.Versioning": "6.14.0",
|
|
341
341
|
"System.Security.Cryptography.Pkcs": "6.0.4"
|
|
@@ -398,11 +398,11 @@
|
|
|
398
398
|
}
|
|
399
399
|
},
|
|
400
400
|
"System.Collections.Immutable/8.0.0": {},
|
|
401
|
-
"System.CommandLine/2.0.0-
|
|
401
|
+
"System.CommandLine/2.0.0-rc.2.25502.107": {
|
|
402
402
|
"runtime": {
|
|
403
403
|
"lib/net8.0/System.CommandLine.dll": {
|
|
404
404
|
"assemblyVersion": "2.0.0.0",
|
|
405
|
-
"fileVersion": "2.0.25.
|
|
405
|
+
"fileVersion": "2.0.25.50307"
|
|
406
406
|
}
|
|
407
407
|
},
|
|
408
408
|
"resources": {
|
|
@@ -733,29 +733,29 @@
|
|
|
733
733
|
"LibGit2Sharp": "0.31.0",
|
|
734
734
|
"Microsoft.DotNet.PlatformAbstractions": "3.1.6",
|
|
735
735
|
"Nerdbank.GitVersioning.LKG": "3.8.80-alpha",
|
|
736
|
-
"Newtonsoft.Json": "13.0.
|
|
736
|
+
"Newtonsoft.Json": "13.0.4",
|
|
737
737
|
"System.Text.Json": "9.0.8",
|
|
738
738
|
"Validation": "2.6.68"
|
|
739
739
|
},
|
|
740
740
|
"runtime": {
|
|
741
741
|
"Nerdbank.GitVersioning.dll": {
|
|
742
|
-
"assemblyVersion": "3.9.
|
|
743
|
-
"fileVersion": "3.9.
|
|
742
|
+
"assemblyVersion": "3.9.32.26105",
|
|
743
|
+
"fileVersion": "3.9.32.26105"
|
|
744
744
|
}
|
|
745
745
|
}
|
|
746
746
|
},
|
|
747
|
-
"Nerdbank.GitVersioning/3.9.
|
|
747
|
+
"Nerdbank.GitVersioning/3.9.32.26105": {
|
|
748
748
|
"runtime": {
|
|
749
749
|
"Nerdbank.GitVersioning.dll": {
|
|
750
|
-
"assemblyVersion": "3.9.
|
|
751
|
-
"fileVersion": "3.9.
|
|
750
|
+
"assemblyVersion": "3.9.32.26105",
|
|
751
|
+
"fileVersion": "3.9.32.26105"
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
756
|
},
|
|
757
757
|
"libraries": {
|
|
758
|
-
"nbgv/3.9.
|
|
758
|
+
"nbgv/3.9.32-alpha": {
|
|
759
759
|
"type": "project",
|
|
760
760
|
"serviceable": false,
|
|
761
761
|
"sha512": ""
|
|
@@ -893,12 +893,12 @@
|
|
|
893
893
|
"path": "nerdbank.gitversioning.lkg/3.8.80-alpha",
|
|
894
894
|
"hashPath": "nerdbank.gitversioning.lkg.3.8.80-alpha.nupkg.sha512"
|
|
895
895
|
},
|
|
896
|
-
"Newtonsoft.Json/13.0.
|
|
896
|
+
"Newtonsoft.Json/13.0.4": {
|
|
897
897
|
"type": "package",
|
|
898
898
|
"serviceable": true,
|
|
899
|
-
"sha512": "sha512-
|
|
900
|
-
"path": "newtonsoft.json/13.0.
|
|
901
|
-
"hashPath": "newtonsoft.json.13.0.
|
|
899
|
+
"sha512": "sha512-pdgNNMai3zv51W5aq268sujXUyx7SNdE2bj1wZcWjAQrKMFZV260lbqYop1d2GM67JI1huLRwxo9ZqnfF/lC6A==",
|
|
900
|
+
"path": "newtonsoft.json/13.0.4",
|
|
901
|
+
"hashPath": "newtonsoft.json.13.0.4.nupkg.sha512"
|
|
902
902
|
},
|
|
903
903
|
"NuGet.Commands/6.14.0": {
|
|
904
904
|
"type": "package",
|
|
@@ -1019,12 +1019,12 @@
|
|
|
1019
1019
|
"path": "system.collections.immutable/8.0.0",
|
|
1020
1020
|
"hashPath": "system.collections.immutable.8.0.0.nupkg.sha512"
|
|
1021
1021
|
},
|
|
1022
|
-
"System.CommandLine/2.0.0-
|
|
1022
|
+
"System.CommandLine/2.0.0-rc.2.25502.107": {
|
|
1023
1023
|
"type": "package",
|
|
1024
1024
|
"serviceable": true,
|
|
1025
|
-
"sha512": "sha512
|
|
1026
|
-
"path": "system.commandline/2.0.0-
|
|
1027
|
-
"hashPath": "system.commandline.2.0.0-
|
|
1025
|
+
"sha512": "sha512-l2myq5KMDP78bweagWfubIvINvqW22qHTXGxBNH2mMbBBod6v0LNU4/cc8iU3IrFjeCtRtKgW8mw7vy2q482Fw==",
|
|
1026
|
+
"path": "system.commandline/2.0.0-rc.2.25502.107",
|
|
1027
|
+
"hashPath": "system.commandline.2.0.0-rc.2.25502.107.nupkg.sha512"
|
|
1028
1028
|
},
|
|
1029
1029
|
"System.ComponentModel.Composition/4.5.0": {
|
|
1030
1030
|
"type": "package",
|
|
@@ -1255,7 +1255,7 @@
|
|
|
1255
1255
|
"serviceable": false,
|
|
1256
1256
|
"sha512": ""
|
|
1257
1257
|
},
|
|
1258
|
-
"Nerdbank.GitVersioning/3.9.
|
|
1258
|
+
"Nerdbank.GitVersioning/3.9.32.26105": {
|
|
1259
1259
|
"type": "reference",
|
|
1260
1260
|
"serviceable": false,
|
|
1261
1261
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -4,6 +4,13 @@
|
|
|
4
4
|
<name>nbgv</name>
|
|
5
5
|
</assembly>
|
|
6
6
|
<members>
|
|
7
|
+
<member name="M:Nerdbank.GitVersioning.Tool.Program.GetEffectiveGitEngine(System.Boolean)">
|
|
8
|
+
<summary>
|
|
9
|
+
Gets the effective git engine to use based on environment variables and command settings.
|
|
10
|
+
</summary>
|
|
11
|
+
<param name="preferReadWrite">Whether to prefer ReadWrite (LibGit2) engine when not explicitly specified.</param>
|
|
12
|
+
<returns>The engine to use.</returns>
|
|
13
|
+
</member>
|
|
7
14
|
<member name="M:Nerdbank.GitVersioning.GitLoaderContext.#ctor(System.String)">
|
|
8
15
|
<summary>
|
|
9
16
|
Initializes a new instance of the <see cref="T:Nerdbank.GitVersioning.GitLoaderContext"/> class.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED