From 97af93b2a8ebc89364852e3f63e9fd8cfedaeedf Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Mon, 9 Jun 2025 13:43:45 +0300 Subject: =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B2=D1=91=D0=BB=20dotfiles?= =?UTF-8?q?=20=D0=BD=D0=B0=20stow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/theme/gitstatus/src/stat.h | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 zsh/theme/gitstatus/src/stat.h (limited to 'zsh/theme/gitstatus/src/stat.h') diff --git a/zsh/theme/gitstatus/src/stat.h b/zsh/theme/gitstatus/src/stat.h deleted file mode 100644 index 4f3195a..0000000 --- a/zsh/theme/gitstatus/src/stat.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef ROMKATV_GITSTATUS_STAT_H_ -#define ROMKATV_GITSTATUS_STAT_H_ - -#include - -namespace gitstatus { - -inline const struct timespec& MTim(const struct stat& s) { -#ifdef __APPLE__ - return s.st_mtimespec; -#else - return s.st_mtim; -#endif -} - -inline bool StatEq(const struct stat& x, const struct stat& y) { - return MTim(x).tv_sec == MTim(y).tv_sec && MTim(x).tv_nsec == MTim(y).tv_nsec && - x.st_size == y.st_size && x.st_ino == y.st_ino && x.st_mode == y.st_mode; -} - -} // namespace gitstatus - -#endif // ROMKATV_GITSTATUS_STAT_H_ -- cgit v1.2.3