---
layout: docs
title: remove
id: class.Facebook.HackCodegen._Private.Filesystem.remove
docid: class.Facebook.HackCodegen._Private.Filesystem.remove
permalink: /docs/reference/class.Facebook.HackCodegen._Private.Filesystem.remove/
---
# Facebook\\HackCodegen\\_Private\\Filesystem::remove()




``` Hack
public static function remove(
  string $path,
): void;
```




## Parameters




+ ` string $path `




## Returns




* ` void `