gstuff 0.8.16

Small macro and trinkets that make my life easier.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![allow (dead_code)]

use crate::{binprint, now_ms};
use crate::re::Re;
use fomat_macros::{fomat, pintln};
use smallvec::SmallVec;
use std::borrow::Cow;
use std::mem::MaybeUninit;
use std::net::{Ipv4Addr, SocketAddr, SocketAddrV4, ToSocketAddrs, UdpSocket};
use std::thread;
use std::time::Duration;

pub fn noise (path: &str) -> bool {
  // Encountered hitting F5 in Windows File Explorer (WebDAV Redirector)
  if path.ends_with ("/.sync/FolderType") || path.ends_with ("/.sync/ID") {return true}

  return false}