diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-17 02:25:52 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-17 02:25:52 +0900 |
| commit | 7f606f36fef0c0467c3c0db3d0da33af486dae8a (patch) | |
| tree | c3f0a3340e1dbfc5245964a775b73030d5abf44e /crates/shirabe-external-packages/src/seld/phar_utils/timestamps.rs | |
| parent | 9389ddbf06f6d38445c277640cab7b2270057790 (diff) | |
| download | php-shirabe-7f606f36fef0c0467c3c0db3d0da33af486dae8a.tar.gz php-shirabe-7f606f36fef0c0467c3c0db3d0da33af486dae8a.tar.zst php-shirabe-7f606f36fef0c0467c3c0db3d0da33af486dae8a.zip | |
feat(port): add stub implementations of shirabe-external-packages
Diffstat (limited to 'crates/shirabe-external-packages/src/seld/phar_utils/timestamps.rs')
| -rw-r--r-- | crates/shirabe-external-packages/src/seld/phar_utils/timestamps.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/crates/shirabe-external-packages/src/seld/phar_utils/timestamps.rs b/crates/shirabe-external-packages/src/seld/phar_utils/timestamps.rs new file mode 100644 index 0000000..d2e1be9 --- /dev/null +++ b/crates/shirabe-external-packages/src/seld/phar_utils/timestamps.rs @@ -0,0 +1,18 @@ +#[derive(Debug)] +pub struct Timestamps { + file: String, +} + +impl Timestamps { + pub fn new(file: &str) -> Self { + todo!() + } + + pub fn update_timestamps(&mut self, date: &str) -> anyhow::Result<()> { + todo!() + } + + pub fn save(&self, file: &str, format: i64) -> anyhow::Result<()> { + todo!() + } +} |
