public function ctime(string $path): Promise
    {
        if (!@\file_exists($path)) {
            return new Failure(new FilesystemException(
                "Path does not exist"
            ));
        }

        $ctime = @\filectime($path);
        \clearstatcache(true, $path);

        return new Success($ctime);
    }
public function ctime(string $path): Promise
    {
        if (!@\file_exists($path)) {
            return new Failure(new FilesystemException(
                "Path does not exist"
            ));
        }

        $ctime = @\filectime($path);
        \clearstatcache(true, $path);

        return new Success($ctime);
    }
public function ctime ( string $ path ) : Promise { if ( ! @ \ file_exists ( $ path ) ) { return new Failure ( new FilesystemException ( "Path does not exist" ) ) ; } $ ctime = @ \ filectime ( $ path ) ; \ clearstatcache ( true , $ path ) ; return new Success ( $ ctime ) ; }
Retrieve the path's creation time as a unix timestamp.

@param string $path An absolute file system path
@return \Amp\Promise<int>
Retrieve the path s creation time as a unix timestamp .