Add function to return file/folder creation time
Abierto
Nadie ha tomado este issue todavía.
Extension: standard
Feature
Status: Needs Triage
- Lenguaje dominante
- C
- Estrellas
- 40.4k
- Forks
- 8.1k
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 96
Descripción
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- c, php
- Área
- backend, operating-systems
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 42/100