Code/Framework/AzFramework/AzFramework/Archive/NestedArchive.cpp
int NestedArchive::StartContinuousFileUpdate(AZStd::string_view szRelativePath, uint64_t nSize)
    {
        if (m_nFlags & FLAGS_READ_ONLY)
        {
            return ZipDir::ZD_ERROR_INVALID_CALL;
        }

        AZ::IO::FixedMaxPathString fullPath = AdjustPath(szRelativePath);
        if (fullPath.empty())
        {
            return ZipDir::ZD_ERROR_INVALID_PATH;
        }
        return m_pCache->StartContinuousFileUpdate(fullPath, nSize);
    }
//////////////////////////////////////////////////////////////////////////
//   Adds a new file to the zip or update an existing one if it is not compressed - just stored  - start a big file
Adds a new file to the zip or update an existing one if it is not compressed - just stored  - start a big file
Adds a new file to the zip or update an existing one if it is not compressed - just stored - start a big file
int NestedArchive::StartContinuousFileUpdate(AZStd::string_view szRelativePath, uint64_t nSize)
    {
        if (m_nFlags & FLAGS_READ_ONLY)
        {
            return ZipDir::ZD_ERROR_INVALID_CALL;
        }
        AZ::IO::FixedMaxPathString fullPath = AdjustPath(szRelativePath);
        if (fullPath.empty())
        {
            return ZipDir::ZD_ERROR_INVALID_PATH;
        }
        return m_pCache->StartContinuousFileUpdate(fullPath, nSize);
    }
int NestedArchive :: StartContinuousFileUpdate ( AZStd :: string_view szRelativePath , uint64_t nSize ) { if ( m_nFlags & FLAGS_READ_ONLY ) { return ZipDir :: ZD_ERROR_INVALID_CALL ; } AZ :: IO :: FixedMaxPathString fullPath = AdjustPath ( szRelativePath ) ; if ( fullPath . empty ( ) ) { return ZipDir :: ZD_ERROR_INVALID_PATH ; } return m_pCache -> StartContinuousFileUpdate ( fullPath , nSize ) ; }
Adds a new file to the zip or update an existing one if it is not compressed - just stored  - start a big file
Adds a new file to the zip or update an existing one if it is not compressed - just stored - start a big file