Update stdlib
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / types / unixpath.pp
diff --git a/3rdparty/modules/stdlib/types/unixpath.pp b/3rdparty/modules/stdlib/types/unixpath.pp
new file mode 100644 (file)
index 0000000..ec3bf7d
--- /dev/null
@@ -0,0 +1,2 @@
+# this regex rejects any path component that is a / or a NUL
+type Stdlib::Unixpath = Pattern[/^\/([^\/\0]+\/*)+$/]