Skip to content

Commit 455989a

Browse files
Ace Nassrifhinkel
Ace Nassri
authored andcommitted
Clarify metageneration comments (#1005)
1 parent 2524c3a commit 455989a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/helloworld/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ exports.helloGCS = (event, callback) => {
9898
console.log(`File ${file.name} deleted.`);
9999
} else if (file.metageneration === '1') {
100100
// metageneration attribute is updated on metadata changes.
101-
// on create value is 1
101+
// value is 1 if file was newly created or overwritten
102102
console.log(`File ${file.name} uploaded.`);
103103
} else {
104104
console.log(`File ${file.name} metadata updated.`);

0 commit comments

Comments
 (0)