This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fsp = require("fs/promises"); | |
async function dirFilesInfo(path) { | |
const dir = await fsp.opendir(path); | |
for await (const dirEntry of dir) { | |
const fileInfo = await fsp.stat("./" + dirEntry.name); | |
console.log(dirEntry.name, fileInfo); | |
} | |
} | |
dirFilesInfo("./").catch(console.error); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If this commit is applied, it will ...? | |
# Syntax: | |
# Commit Type: Subject (Max 50 chars) | |
#-----------------------------------------------| | |
# (optional body) (Max 72 chars) | |
# Explain the problem this commit is solving. Focus on why you are | |
# making this change as opposed to how (the code explains that). | |
#----------------------------------------------------------------------| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Ronald Suwandi | |
email = [email protected] | |
[core] | |
excludesfile = /Users/ronald/.gitignore_global | |
# editor = subl -nw | |
editor = vim | |
[diff] |