It creates a dependabot.yml
file in each .github
directory of each repository in the current
+
It takes a list of files, and for each file, it checks if the file is a workflow file, and if it is, +
It takes a list of files, and for each file, it checks if the file is a workflow file, and if it is, it checks if the file is a node workflow file, and if it is, it checks if the file is a node workflow file for a package that has dependencies, and if it is, it adds the dependencies to the workflow file
-It takes a list of files, and for each file, it checks if the file is a workflow file, and if it is, +
It takes a list of files, and for each file, it checks if the file is a workflow file, and if it is, it checks if the file is a node workflow file, and if it is, it checks if the file is a node workflow file for a package that has dependencies, and if it is, it adds the dependencies to the workflow file
-It takes a list of files, and for each file, it checks if the file is a workflow file, and if it is, +
It takes a list of files, and for each file, it checks if the file is a workflow file, and if it is, it checks if the file is a node workflow file, and if it is, it checks if the file is a node workflow file for a package that has dependencies, and if it is, it adds the dependencies to the workflow file
-The function recursively walks through directories until it finds a ".git" folder or reaches the +
The function recursively walks through directories until it finds a ".git" folder or reaches the root directory.
The Search
parameter is a string that represents the directory path where
you want to start searching for a .git
directory.
The function Directory
takes a set of file globs, walks through the directories
+
The function Directory
takes a set of file globs, walks through the directories
until it finds a Git repository, and returns a map where the keys are the directories
and the values are sets of globs associated with each directory.
is a Set of strings representing file globs. A file glob is a @@ -6,4 +6,4 @@ files in a directory. The Search parameter is a set of these file globs that will be used to search for files in paths and the values are sets of glob patterns associated with each directory.
-This function ensures the correct decodings of percent-encoded characters as +
This function ensures the correct decodings of percent-encoded characters as well as ensuring a cross-platform valid absolute path string.
import { fileURLToPath } from 'node:url';
const __filename = fileURLToPath(import.meta.url);
new URL('file:///C:/path/').pathname; // Incorrect: /C:/path/
fileURLToPath('file:///C:/path/'); // Correct: C:\path\ (Windows)
new URL('file://nas/foo.txt').pathname; // Incorrect: /foo.txt
fileURLToPath('file://nas/foo.txt'); // Correct: \\nas\foo.txt (Windows)
new URL('file:///你好.txt').pathname; // Incorrect: /%E4%BD%A0%E5%A5%BD.txt
fileURLToPath('file:///你好.txt'); // Correct: /你好.txt (POSIX)
new URL('file:///hello world').pathname; // Incorrect: /hello%20world
fileURLToPath('file:///hello world'); // Correct: /hello world (POSIX)
The file URL string or URL object to convert to a path.
Optional
options: FileUrlToPathOptionsThe fully-resolved platform-specific Node.js file path.
-Asynchronously reads the entire contents of a file.
+Asynchronously reads the entire contents of a file.
If no encoding is specified (using options.encoding
), the data is returned
as a Buffer
object. Otherwise, the data will be a string.
If options
is a string, then it specifies the encoding.
Any specified FileHandle
has to support reading.
filename or FileHandle
Optional
options: null | { Fulfills with the contents of the file.
-Asynchronously reads the entire contents of a file.
+Asynchronously reads the entire contents of a file.
A path to a file. If a URL is provided, it must use the file:
protocol.
If a FileHandle
is provided, the underlying file will not be closed automatically.
An object that may contain an optional flag.
@@ -32,4 +32,4 @@
If a FileHandle
is provided, the underlying file will not be closed automatically.
Optional
options: null | BufferEncoding | ObjectEncodingOptions & Abortable & { An object that may contain an optional flag.
If a flag is not provided, it defaults to 'r'
.
The right-most parameter is considered {to}. Other parameters are considered an array of {from}.
+The right-most parameter is considered {to}. Other parameters are considered an array of {from}.
Starting from leftmost {from} parameter, resolves {to} to an absolute path.
If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory.
Rest
...paths: string[]A sequence of paths or path segments.
-The function recursively walks through directories until it finds a ".git" folder or reaches the +
The function recursively walks through directories until it finds a ".git" folder or reaches the root directory.
The Search
parameter is a string that represents the directory path where
you want to start searching for a .git
directory.
Const
Const
Const
Const
Const
Const
The function
Cloudflare
iterates through a list of files, checks if a specific file exists, and +- Preparing search index...
- The search index is not available
@playform/maintain - v0.1.2Function cloudflare
The function
-Cloudflare
iterates through a list of files, checks if a specific file exists, and performs certain actions based on the conditions.Returns Promise<void>
Settings