Add function to return file/folder creation time
Offen
Dieses Issue hat noch niemand übernommen.
Extension: standard
Feature
Status: Needs Triage
- Vorherrschende Sprache
- C
- Sterne
- 40.4k
- Forks
- 8.1k
- Ø Merge
- 2 T. 13 Std.
- Gemergte PRs (30 T.)
- 96
Beschreibung
Description
Currently there is no way of getting the creation time of a folder ("Birth" when using stat) without using a command like:
shell_exec('stat -c %W .')
File: .
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: fd00h/64768d Inode: 135399518 Links: 3
Access: (0775/drwxrwxr-x) Uid: ( 1004/acceptpo) Gid: ( 1005/acceptpo)
Access: 2024-07-09 16:32:26.402709986 +0200
Modify: 2024-07-09 16:32:31.806815720 +0200
Change: 2024-07-09 16:32:31.806815720 +0200
Birth: 2023-10-05 11:02:30.038341914 +0200
It would be nice to have a function for that.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Start with the shell_exec('stat -c %W .') example and the Linux stat output, then compare the requested birth time for files and folders with PHP's current filesystem behavior. Done means the API's supported behavior is defined and tests cover creation times for both files and directories.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- c, php
- Bereich
- backend, operating-systems
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100