Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forgets stats properties on delete #35

Open
dominictarr opened this issue Sep 15, 2012 · 1 comment
Open

forgets stats properties on delete #35

dominictarr opened this issue Sep 15, 2012 · 1 comment

Comments

@dominictarr
Copy link

when a file is removed, the prev stat object is all zeros.
there is an ino property, and time is also reset to Jan 1st 1970

hmm, I was kinda expecting for this to be the stat before it was deleted.
I guess it doesn't really matter any more, because the file doesn't even exist.

{ dev: 0,
  ino: 0,
  mode: 0,
  nlink: 0,
  uid: 0,
  gid: 0,
  rdev: 0,
  size: 0,
  blksize: 0,
  blocks: 0,
  atime: Thu Jan 01 1970 01:00:00 GMT+0100 (CET),
  mtime: Thu Jan 01 1970 01:00:00 GMT+0100 (CET),
  ctime: Thu Jan 01 1970 01:00:00 GMT+0100 (CET) }
@andy-hanson
Copy link

This is also bugging me - I'd like to get the stats of the file before it was deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants