# SourceCodeFile<!-- -->

A single file of an Actor version's source code.

### Hierarchy

* GeneratedSourceCodeFile
  * *SourceCodeFile*

## Index[](#Index)

### Properties

* [content](#content)
* [format](#format)
* [name](#name)

## Properties<!-- -->[](#Properties)

### [](#content)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L5093)optionalinheritedcontent

content?

<!-- -->

: null | string

Inherited from GeneratedSourceCodeFile.content

```
console.log('This is the main.js file');
```

The contents of the file. Interpreted based on the value of `format`.

### [](#format)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L5088)optionalinheritedformat

format?

<!-- -->

: BASE64 | TEXT

Inherited from GeneratedSourceCodeFile.format

Format of the file's content, `TEXT` for plain text and `BASE64` for encoded content.

### [](#name)[](https://github.com/apify/apify-client-js/blob/84036425d1fb761bc98185b09045076b3c86192b/src/generated/api.ts#L5098)inheritedname

name: string

Inherited from GeneratedSourceCodeFile.name

```
src/main.js
```

The path of the file relative to the Actor's root directory.
