Sha256: d8e8462fd61e49dfe174b3a318df9d357931bb4bcc345b899197b047ac17d9be
Contents?: true
Size: 350 Bytes
Versions: 44
Compression:
Stored size: 350 Bytes
Contents
#!/usr/bin/env python # # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import sys """Cross-platform touch.""" for fname in sys.argv[1:]: if os.path.exists(fname): os.utime(fname, None) else: open(fname, 'w').close()
Version data entries
44 entries across 44 versions & 7 rubygems