Skip to content

Commit

Permalink
chore: comments and longer changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Aug 19, 2024
1 parent 1e7b853 commit f35ddcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The following emojis are used to highlight certain changes:

### Added

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

### Changed

Expand Down
5 changes: 3 additions & 2 deletions files/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ var (
type Node interface {
io.Closer

// Mode returns the file's mode.
// Mode returns the mode.
// Optional, if unknown/unspecified returns zero.
Mode() os.FileMode

// ModTime returns the file's last modification time. If the last
// ModTime returns the last modification time. If the last
// modification time is unknown/unspecified ModTime returns zero.
ModTime() (mtime time.Time)

Expand Down

0 comments on commit f35ddcb

Please sign in to comment.