Skip to content

Commit f35ddcb

Browse files
committed
chore: comments and longer changelog
1 parent 1e7b853 commit f35ddcb

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The following emojis are used to highlight certain changes:
1616

1717
### Added
1818

19-
- support UnixFS 1.5 file mode and modification times
19+
- `files`, `ipld/unixfs`, `mfs` and `tar` now support optional UnixFS 1.5 mode and modification time metadata
2020

2121
### Changed
2222

files/file.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ var (
1818
type Node interface {
1919
io.Closer
2020

21-
// Mode returns the file's mode.
21+
// Mode returns the mode.
22+
// Optional, if unknown/unspecified returns zero.
2223
Mode() os.FileMode
2324

24-
// ModTime returns the file's last modification time. If the last
25+
// ModTime returns the last modification time. If the last
2526
// modification time is unknown/unspecified ModTime returns zero.
2627
ModTime() (mtime time.Time)
2728

0 commit comments

Comments
 (0)