diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-29 13:31:03 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-29 13:31:03 +0100 |
| commit | 9883e3b4eec8e457b49cb70ca006f5f7601332da (patch) | |
| tree | bb9c8fdb6e6a2a1b57458b2d036ee76040977265 /vfs | |
| parent | fa0bc075f4f3cfc841f4003914ce729820b09d22 (diff) | |
| download | tuxcmd-9883e3b4eec8e457b49cb70ca006f5f7601332da.tar.xz | |
Introduce inode_no property
Diffstat (limited to 'vfs')
| -rw-r--r-- | vfs/UVFSCore.pas | 1 | ||||
| -rw-r--r-- | vfs/uVFSprototypes.pas | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/vfs/UVFSCore.pas b/vfs/UVFSCore.pas index 90b31b5..2bccea7 100644 --- a/vfs/UVFSCore.pas +++ b/vfs/UVFSCore.pas @@ -433,6 +433,7 @@ begin Item^.GID := P^.iGID; Item^.Size := P^.iSize; Item^.PackedSize := P^.iPackedSize; + Item^.inode_no := P^.inode_no; Result := Item; end; diff --git a/vfs/uVFSprototypes.pas b/vfs/uVFSprototypes.pas index 75c7349..bef0246 100644 --- a/vfs/uVFSprototypes.pas +++ b/vfs/uVFSprototypes.pas @@ -90,9 +90,10 @@ type PVFSItem = ^TVFSItem; TVFSItem = record FName: PChar; - FDisplayName: PChar; // FDisplayName - plugins must return valid UTF-8 string + FDisplayName: PChar; // plugins must return valid UTF-8 string iSize: guint64; - iPackedSize: gint64; // iPackedSize - set to -1 if plugin doesn't support this feature + iPackedSize: gint64; // set to -1 if plugin doesn't support this feature + inode_no: guint64; // return 0 if not supported m_time: guint32; a_time: guint32; c_time: guint32; |
