@stacksjs/storage 0.58.61 → 0.58.63
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/dist/index.js +1 -0
- package/package.json +1 -1
- package/src/hash.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -189,6 +189,7 @@ var folders = {
|
|
|
189
189
|
import {createHash} from "crypto";
|
|
190
190
|
import {path as p2} from "@stacksjs/path";
|
|
191
191
|
function hashFileOrDirectory(path4, hash) {
|
|
192
|
+
console.log("hashFileOrDirectory", path4);
|
|
192
193
|
if (fs.statSync(path4).isDirectory()) {
|
|
193
194
|
const files2 = fs.readdirSync(path4);
|
|
194
195
|
for (const file of files2) {
|
package/package.json
CHANGED
package/src/hash.ts
CHANGED
|
@@ -4,6 +4,8 @@ import { path as p } from '@stacksjs/path'
|
|
|
4
4
|
import { fs } from './fs'
|
|
5
5
|
|
|
6
6
|
export function hashFileOrDirectory(path: string, hash: Hash): void {
|
|
7
|
+
// eslint-disable-next-line no-console
|
|
8
|
+
console.log('hashFileOrDirectory', path)
|
|
7
9
|
if (fs.statSync(path).isDirectory()) {
|
|
8
10
|
const files = fs.readdirSync(path)
|
|
9
11
|
for (const file of files) {
|