mirror of
				https://gitea.com/actions/setup-java.git
				synced 2025-10-29 07:47:09 +00:00 
			
		
		
		
	Populate repo
This commit is contained in:
		
							
								
								
									
										48
									
								
								node_modules/@actions/io/lib/io.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								node_modules/@actions/io/lib/io.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,48 @@ | ||||
| /** | ||||
|  * Interface for cp/mv options | ||||
|  */ | ||||
| export interface CopyOptions { | ||||
|     /** Optional. Whether to recursively copy all subdirectories. Defaults to false */ | ||||
|     recursive?: boolean; | ||||
|     /** Optional. Whether to overwrite existing files in the destination. Defaults to true */ | ||||
|     force?: boolean; | ||||
| } | ||||
| /** | ||||
|  * Copies a file or folder. | ||||
|  * | ||||
|  * @param     source    source path | ||||
|  * @param     dest      destination path | ||||
|  * @param     options   optional. See CopyOptions. | ||||
|  */ | ||||
| export declare function cp(source: string, dest: string, options?: CopyOptions): Promise<void>; | ||||
| /** | ||||
|  * Moves a path. | ||||
|  * | ||||
|  * @param     source    source path | ||||
|  * @param     dest      destination path | ||||
|  * @param     options   optional. See CopyOptions. | ||||
|  */ | ||||
| export declare function mv(source: string, dest: string, options?: CopyOptions): Promise<void>; | ||||
| /** | ||||
|  * Remove a path recursively with force | ||||
|  * | ||||
|  * @param inputPath path to remove | ||||
|  */ | ||||
| export declare function rmRF(inputPath: string): Promise<void>; | ||||
| /** | ||||
|  * Make a directory.  Creates the full path with folders in between | ||||
|  * Will throw if it fails | ||||
|  * | ||||
|  * @param   fsPath        path to create | ||||
|  * @returns Promise<void> | ||||
|  */ | ||||
| export declare function mkdirP(fsPath: string): Promise<void>; | ||||
| /** | ||||
|  * Returns path of a tool had the tool actually been invoked.  Resolves via paths. | ||||
|  * If you check and the tool does not exist, it will throw. | ||||
|  * | ||||
|  * @param     tool              name of the tool | ||||
|  * @param     check             whether to check if tool exists | ||||
|  * @returns   Promise<string>   path to tool | ||||
|  */ | ||||
| export declare function which(tool: string, check?: boolean): Promise<string>; | ||||
		Reference in New Issue
	
	Block a user
	 Danny McCormick
					Danny McCormick